DC Agent Set to Automatic but Fails to Start

Last reviewed: February 3, 1998
Article ID: Q158421
The information in this article applies to:
  • Microsoft Commercial Internet Server, version 1.0

SYMPTOMS

When MSSQL Server service and the DC Agent service are on the same computer, DC Agent doesn't start, even though it's set on automatic. It also does not give a "service failed to start" warning. Typically, the Application log (Event viewer) will contain the following entry:

   Initializing buffers and connections to Membership Backend SQL server
   failed.

CAUSE

This problem occurs because the MSSQL Server service takes longer to load than the DC Agent service (on most computers). Since the SQL Server isn't up when the Agent service calls for it, the Agent fails to start.

WORKAROUND

Obtain a copy of the file Sc.exe from the WIN32 software development kit (SDK) and place it in your \winnt subdirectory. From a command prompt, type the following command:

  sc config sicserv depend= mssqlserver

(Note the required space after the "=".)

Doing this will cause the Agent service to wait until after it has confirmed that the SQL service has started.

STATUS

It has been determined that since this configuration (Agent and SQL on the same computer) is not supported, no changes to the code are required to fix this issue. This documentation serves to provide an answer to this problem for those who still may try to run this scenario.


Additional query words: 1.00
Keywords : kbenv kbinterop
Version : 1.0
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 3, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.