all groups > iis ftp > july 2006 >
You're in the

iis ftp

group:

Specifying PASV ports at the server


Specifying PASV ports at the server Jerry Mickman
7/14/2006 4:23:33 PM
iis ftp:
Hi All,

I'm working on a Windows 2003 Server (standard) and I need to specify the
ports that the server will specify to the client for the data transfer
sessions. It's just in the testing stage at the moment, and I set up a
second ftp site on the server that will use port 50021 for the control port
and I want to make ports 50022-50040 available for PASV ftp data transfer
use.

I found the document titled "How to configure PassivePortRange in IIS
(555022), and I'm having problems implementing the procedure.

I enabled the "direct metabase edit" as described, and that seemed to work.
However, when I tried the command:

adsutil.vbs set /MSFTPSVC/PassivePortRange "50022-50040"

I get the following error:

ErrNumber: -2146646000 (0x800CC810)
Error Trying To Get the Object: MSFTPSVC

I did some searching on the Internet, and I couldn't really find anything
useful to help me solve the problem.

I checked to make sure that the service seemed to be there, so I ran
"adsutil.vbs enum MSFTPSVC" and saw the very same error.

Next, I thought I'd just try checking the ftp sites with the "iisftp
/query" and saw this:
C:\Inetpub\AdminScripts>iisftp /query
Connecting to server ...Done.
Site Name (Metabase Path) Status IP Port
==================================================================
Default FTP Site (MSFTPSVC/1) STARTED ALL
21
Another FTP Site port 50021 (MSFTPSVC/440430970) STARTED ALL
50021

So, I thought I'd try:
C:\Inetpub\AdminScripts>adsutil.vbs enum MSFTPSVC/440430970 and
C:\Inetpub\AdminScripts>adsutil.vbs enum MSFTPSVC/1
and in both cases, I still got the exact same error message.

I'm completely stumped here, and hope that someone can help me on this.

BTW, both ftp sites work just fine, however on the "Another" site, while the
control session does use tcp port 50021, the data sessions use the "default"
tcp ports.

Thanks in advance,

Mark




Re: Specifying PASV ports at the server Bernard Cheah [MVP]
7/15/2006 12:00:00 AM
I have not seen this before and I can't repro it.
if you have problem with the 'set' command, it should give schema error
msgs. but not
(0x800CC810) - unknown error.

how about a get command ? adsutil get /msftpsvc/.........


--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

Re: Specifying PASV ports at the server Jerry Mickman
7/17/2006 11:27:36 AM
I got the exact same error.

I tried removing and reinstalling IIS on the server, but still got the same
error. I'm about to remove AD from the server (happily, it's just a test
server, and it's the DC in the domain) Right now, I'm in the process of
removing AD from the server. I'll try reinstalling AD on the server, then
try again.

Thanks!

Mark

[quoted text, click to view]

Re: Specifying PASV ports at the server Jerry Mickman
7/17/2006 5:21:42 PM
The problem was something within AD. Since this was a test server, in a
test domain, I just removed AD then reinstalled it, and everything went as
it was supposed to.

Thanks for your help!

Mark

[quoted text, click to view]

Re: Specifying PASV ports at the server Bernard Cheah [MVP]
7/18/2006 12:00:00 AM
Wow. thanks for the update.... this is new to me.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

AddThis Social Bookmark Button