Allowing Web Proxy Service to Wait for SQL Service to Start Before Logging

ID: Q174787


The information in this article applies to:
  • Microsoft Proxy Server versions 1.0, 2.0


SYMPTOMS

If you select (enable) logging and set up to go to a SQL Server database for the Web Proxy Service, sometimes upon rebooting, the service set up to use the SQL Server database will fail to log anymore.


CAUSE

This happens because the Web Proxy service relies on the SQL Server service to be started before that service can begin logging. If the Proxy service starts before the SQL Server service, it will not be able to log and the service will turn logging off.

NOTE: This is also true of the WWW service.


RESOLUTION

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

For these services to use SQL Server as a logging source, you will need to follow the steps below to make the Web proxy service or WWW service to wait for the SQL service to start:

  1. Start Registry Editor (Regedt32.exe), and locate the following Registry subkey in the HKEY_LOCAL_MACHINE subtree:
    
       \SYSTEM
        \CurrentControlSet
         \Services
          \W3SVC 


  2. Double-click the DependOnService.


  3. Add MSSQLServer (exactly as written) to the list of services.


  4. Click OK, and then quit Registry Editor.


  5. Shut down and restart Windows NT.


Additional query words:

Keywords :
Version : winnt:1.0,2.0
Platform : winnt
Issue type : kbprb


Last Reviewed: December 17, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.