« Previous Next »

Thread: IIS7 + FTP7, FTP stopped working, server reboot solved the problem, any clues?

Last post 10-16-2008 1:05 PM by Krali. 12 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (13 items)

Sort Posts:

  • 11-06-2007, 5:10 AM

    IIS7 + FTP7, FTP stopped working, server reboot solved the problem, any clues?

    Hey all,

     I'm not sure whether this is the place to post this, if not I'm sure you'll let me know ;O)

    I have a Windows Longhorn RC0 installation installed with IIS7 and the new FTP server. It has worked beautifully for the past 14 days or so, but this morning without warning the FTP service stopped working, I simply couldn't log in (Received a 10061). I then checked in the "IIS manager" on the server and everything looked ok, checked the "Event viewer" nothing unusual here either. Running a "netstat -an" on the box showed that nothing was listening on port 21, pretty strange. I then tried a recycle of the IIS server but that did absolutely nothing, and nothing relevant was reported to "Event viewer" as fas as I could see. The only event which seemed remotely connect was something like "The application-specific permission settings do not grant Local Launch permission for the COM Server application with CLSID ", not sure whether it's relevant at all as the event was not consistently logged for each iisreset.

    After trying all of the above I did a complete reboot of the server, and surely enough after starting all it's services the FTP service was once again running.

    Any ideas to where I should start looking, has anybody else tried something like this on IIS7 + FTP ?

  • 11-06-2007, 6:01 AM In reply to

    • robmcm
    • Top 50 Contributor
    • Joined on 05-27-2006, 1:05 AM
    • Redmond, WA
    • Posts 125

    Re: IIS7 + FTP7, FTP stopped working, server reboot solved the problem, any clues?

    Hi Mickey,

    That error usually indicates that an account does not have sufficient permissions to launch a COM+ package, and in the case of FTP the extensibility process runs as a COM+ package that is configured to use NETWORK SERVICE for the identity. Since restarting your computer fixed the problem, I don't think that there's a problem with the package identity, but are you using the IIS manager authentication of ASP.NET authentication with FTP?

    Robert McMurray (MSFT, IIS)
  • 11-06-2007, 6:20 AM In reply to

    Re: IIS7 + FTP7, FTP stopped working, server reboot solved the problem, any clues?

    Hey Robert,

    Ok, so it does seem to be connected somehow. I'm not sure I understand your last question though?
    >> but are you using the IIS manager authentication of ASP.NET authentication with FTP?

    Where should I look for this, you mean how the FTP service authenticates ?


    Thanks for a quick reply btw :O)

  • 11-06-2007, 1:54 PM In reply to

    • robmcm
    • Top 50 Contributor
    • Joined on 05-27-2006, 1:05 AM
    • Redmond, WA
    • Posts 125

    Re: IIS7 + FTP7, FTP stopped working, server reboot solved the problem, any clues?

    In the FTP Authentication feature, you will normally only have the Basic and Anonymous Authentication methods listed, but you can add IIS Manger Authentication or AspNet Authentication. Based on your last question that doesn't seem likely, because you have to manually add either of those methods before they can be used. Let me check a couple of other things.

    Robert McMurray (MSFT, IIS)
  • 11-06-2007, 2:53 PM In reply to

    Re: IIS7 + FTP7, FTP stopped working, server reboot solved the problem, any clues?

    Ok, see what you mean now, and you're right I haven't added anything special.
  • 11-06-2007, 10:45 PM In reply to

    Re: IIS7 + FTP7, FTP stopped working, server reboot solved the problem, any clues?

    I've seen this behavior on Beta 3 FTP service instances. I used Task manager to kill the svchost process and restarted the service, things worked fine.  The symptoms were we could connect, but the connection would be dropped.  Both instances was using SSL certs.  That is what we've done to resolve the issue.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 11-14-2007, 12:58 PM In reply to

    Re: IIS7 + FTP7, FTP stopped working, server reboot solved the problem, any clues?

    steve schofield:

    I've seen this behavior on Beta 3 FTP service instances. I used Task manager to kill the svchost process and restarted the service, things worked fine.  The symptoms were we could connect, but the connection would be dropped.  Both instances was using SSL certs.  That is what we've done to resolve the issue.



    Ok, that doesn't seem to be the same behavior, but maybe its somehow caused by the same issue, dunno. In my case the FTP server were just not listening on the port at all, and the only thing which helped was a reboot (Probably just because I don't know the right cause)
  • 11-25-2007, 7:04 AM In reply to

    Re: IIS7 + FTP7, FTP stopped working, server reboot solved the problem, any clues?

    Today I'm experiencing the exact same issue, webserver is running perfectly and there are no detectable errors in the IIS manager, but still the FTP service is not listening on any ports. Restart of IIS and killing svchost doesn't do any difference. My bet is that a server restart fixes the issue, but do any of you guys have something in the sleeve I should try before a restart ?

    Edit:
    After some inspection of Event Viewer I see the following event being logged this morning:
    Faulting application svchost.exe_ftpsvc, version 6.0.6001.16659, time stamp 0x46edd102, faulting module kernel32.dll, version 6.0.6001.16659, time stamp 0x46edeaa2, exception code 0xc0000005, fault offset 0x00000000000105bc, process id 0x55c, application start time 0x01c82058d75b2146.

  • 08-20-2008, 2:59 PM In reply to

    Re: IIS7 + FTP7, FTP stopped working, server reboot solved the problem, any clues?

    Exact same problem.

    I had never installed FTP during the role so I didn't have to remove the FTP6 version. I downloaded and installed the new FTP7. Rebooted. Went to IIS and created a self signed SSL. Went to my default site and choose "Add FTP Publishing", configured appropriately. Opened port 990 for FTPS on the firewalls and everything was working great.

    However, I didn't realize that shortly after connecting the FTP server, it dies with the same error message in the Event Viewer as mentioned above except version #

    Faulting application svchost.exe_ftpsvc, version 6.0.6001.18000, time stamp 0x47919291, faulting module ftpsvc.dll, version 7.0.6545.13931, time stamp 0x47bf321b, exception code 0xc0000005, fault offset 0x0000000000021202, process id 0x424, application start time 0x01c902f29a095380.

  • 08-21-2008, 1:10 AM In reply to

    • robmcm
    • Top 50 Contributor
    • Joined on 05-27-2006, 1:05 AM
    • Redmond, WA
    • Posts 125

    Re: IIS7 + FTP7, FTP stopped working, server reboot solved the problem, any clues?

    That is a known issue that was resolved in the following rollup hotfix:

    http://support.microsoft.com/kb/955136

    Robert McMurray (MSFT, IIS)
  • 10-16-2008, 6:57 AM In reply to

    • Krali
    • Not Ranked
    • Joined on 09-30-2008, 9:37 AM
    • Posts 6

    Re: IIS7 + FTP7, FTP stopped working, server reboot solved the problem, any clues?

    I have downloaded the hotfix and tried to install it, but it says, that there is a previous version of FTP ist installed on this server.

    But I have installed the FTP 7 - Service...

    Ok, the FTP Publishing Service with FTP-Server ist installed as Role Service, but the Service itself is disabled. And if I uninstall this Role Service, are all FTP-Sites and virtual hosts and configurations gone???????

  • 10-16-2008, 12:31 PM In reply to

    • robmcm
    • Top 50 Contributor
    • Joined on 05-27-2006, 1:05 AM
    • Redmond, WA
    • Posts 125

    Re: IIS7 + FTP7, FTP stopped working, server reboot solved the problem, any clues?

    Uninstalling the FTP Role Service will not remove your FTP 7 settings - they are entirely separate entities. But as you've already surmised, the FTP Role Service is preventing the hotfix from installing.

    Robert McMurray (MSFT, IIS)
  • 10-16-2008, 1:05 PM In reply to

    • Krali
    • Not Ranked
    • Joined on 09-30-2008, 9:37 AM
    • Posts 6

    Re: IIS7 + FTP7, FTP stopped working, server reboot solved the problem, any clues?

    Hello,

    thank you very much. Removing the Role Service didn't delete the FTP Config, that's right.

    Now, I was able to install the hotfix. Just waiting for this error in the future... ;-)

Page 1 of 1 (13 items)
Microsoft Communities