RE: Followup: IIS terminating services

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Pedro (anonymous_at_discussions.microsoft.com)
Date: 02/03/04


Date: Tue, 3 Feb 2004 08:36:13 -0800

I don't know if my issues are the same as everyone else's in this list. I just did a search for "The World Wide Web Publishing Service service terminated unexpectedly" and this is one of the threads that came up.

I have been having a similar problem with IIS 5.0 on W2K Professional. Whenever a page (html, asp, gif, etc.) is viewed, inetinfo.exe crashes and I get the below errors.

1/31/2004 6:03:44 AM
IISCTLS Information None 1 N/A SERVERNAME
IIS start command received from user NT AUTHORITY\SYSTEM. The logged data is the status code.
For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.

1/31/2004 6:03:34 AM
IISCTLS Information None 2 N/A SERVERNAME
IIS stop command received from user NT AUTHORITY\SYSTEM. The logged data is the status code.
For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.

1/31/2004 6:03:34 AM
Service Control Manager Error None 7031 N/A SERVERNAME
The World Wide Web Publishing Service service terminated unexpectedly. It has done this 2 time(s). The following corrective action will be taken in 0 milliseconds: No action.

1/31/2004 6:03:34 AM
Service Control Manager Error None 7031 N/A SERVERNAME
The IIS Admin Service service terminated unexpectedly. It has done this 2 time(s). The following corrective action will be taken in 1 milliseconds: Run the configured recovery program.

This problem only happened on on W2K Professional systems and not on W2K Server systems. I have an autmated configuration script for IIS that configures registry and metabase settings that I used on both the W2K Server and Professional systems. I verified all service packs, hotfixes, etc. were up to date. I was able to verify that IIS 5.0 worked fine on the W2K Professional system fine before I ran my script, so I knew it was something in the script.

Through trial and error, I was able to determine that the problem was the following registry setting:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\InetInfo\Parameters
        DisableMemoryCache = REG_DWORD 0x00000000

I got this from one of the performance tuning documents off of the MS site. This parameter is not present by default, and the recommendation is to set it to 0 (MemoryCache IS enabled), even though this is the default value.

When I removed this key from the W2K Professional system, IIS 5.0 worked fine. When I put the key back in, IIS 5.0 crashed as above.

I understand that there are many documented, and undocumented differences between W2K Professional and Server, but could not find anything on the Internet discussing this. Having this registry setting on a W2K Server system does not cause any problems.

I don't know if this will help anyone out there in the discussions, but I thought I would at least pass it along.

Pedro



Relevant Pages

  • INETINFO and ASP Trouble
    ... The World Wide Web Publishing Service service terminated unexpectedly. ... The following corrective action will be taken in 0 milliseconds: ... For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp. ...
    (microsoft.public.inetserver.iis)
  • The IIS Admin Service service terminated unexpectedly
    ... >we have the IIS reboot error up to 5 times an hour. ... >SOURCE: Service Control Manager ... The World Wide Web Publishing Service ... The following corrective action will be taken in 0 ...
    (microsoft.public.inetserver.iis)
  • Re: Can I run IIS and Symantec/Norton Internet Security 2005 on the same machine?
    ... I can add this for you - I'm running XP Pro SP2, IIS 5.1 and Norton System ... > I have tried to switch off all options for Symantec/Norton Internet ... the World Wide Web Publishing service hung on starting. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Website down
    ... The World Wide Web Publishing Service service terminated ... corrective action will be taken in 0 milliseconds: ... Once you do that, check the logs ... >You might also check your web server logs, ...
    (microsoft.public.security)
  • Re: IIS 5.1 Dead In The Water
    ... >If IIS seems to work when you install it but then seems ... >were there even before I first installed IIS. ... >is disabling IIS ... >>The World Wide Web Publishing service hung on starting. ...
    (microsoft.public.inetserver.iis)