• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4750
  • Last Modified:

Cannot start the FTP Publishing Service on Win. 2003

Hello guys,

I wanted to set the passive port range on our FTP server and I followed the steps given by Microsoft on this link: http://support.microsoft.com/kb/555022/en-us

Unfortunately now the FTP Publishing Service doesn't want to start anymore. I did 2 reboot, same thing. When loading Windows it says at least 1 service failed to initialize and in Event Viewer I get:

The FTP Publishing service service terminated with the following error: Error 1114: A dynamic link library(DLL) initialization routine failed

Anyone knows how to fix this? This is rather urgent, our FTP site is now down because of this.

Thanks,
0
Vision_Globale
Asked:
Vision_Globale
  • 2
  • 2
1 Solution
 
meverestCommented:
did you enter the range as a literal string?  (I.e. with the port range in quotes?)

what range did you enter?  read it by "adsutil.vbs get /MSFTPSVC/PassivePortRange"

try entering again.

Cheers.
0
 
Vision_GlobaleAuthor Commented:
Thanks for the reply
I typed in exactly: adsutil.vbs set /MSFTPSVC/PassivePortRange "2024-6000"

Will try to read the output of "adsutil.vbs get /MSFTPSVC/PassivePortRange" and keep you informed
0
 
Vision_GlobaleAuthor Commented:
OK I removed the line PassivePortRange directly in the metabase.xml file and now I'm able to restart the service. (on the prod server so now our FTPs are back up)

I tried the same thing on a Test server, freshly installed with W2K3 Web edition, IIS 6.0 and typed again:
adsutil.vbs set /MSFTPSVC/PassivePortRange "2024-6000"

The same thing happened... I was not able to restart the FTP Publishing service...
Typed in : adsutil.vbs get /MSFTPSVC/PassivePortRange and it returned me the following:

PassivePortRange            STRING: 2024-6000

Did several tests and my mistake was to use my port range starting at 2024... When I tried 2024-6000, 2050-6000 or 2100-6000 it didn't work. Everything I used after 5500 worked... That's weird, anyway thanks for your reply. This case is closed.
0
 
meverestCommented:
Hi,

glad you got that problem sorted.

perhaps there was some other software already using a port in that range.  looking at the numbers you have shown, VNC comes to mind.

anyhow, 900 ports is way more than you will ever need even for the busiest ftp server.  generally you can get away with less than 20.

Cheers.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now