Microsoft KB Archive/234372

= BUG: MSMQ Service Fails to Start Automatically on Restart =

Article ID: 234372

Article Last Modified on 10/15/2002

-

APPLIES TO


 * Microsoft Message Queue Server 1.0

-



This article was previously published under Q234372



SYMPTOMS
The Microsoft Message Queue server (MSMQ) will fail to start automatically after a restart. Additionally, the following two entries may be placed in the system Event Log by the Service Control Manager:

Timeout (120000 milliseconds) waiting for the service to connect.

- and -

The Microsoft Message Queue Service service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion.

You can use the Control Panel Services applet and manually start MSMQ service after the computer has been restarted, however, the service will not start automatically if the computer is restarted again.



RESOLUTION
IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

Adding "ProtectedStorage" to the DependsOnService entry in the MSMQ Registry entry resolves this problem. The following steps illustrate how to make the necessary change:


 * 1) On the taskbar, select Start, and then click Run.
 * 2) Type REGEDT32 and click OK to open the Registry Editor.
 * 3) Using the Registry Editor, navigate to the following key:


 * 1) Double-click the DependsOnService entry. This will open the Multi-String Editor. Add "ProtectedStorage" to the DependsOnService value. When you are done, the entry should look like the following:


 * 1) Restart the computer. The MSMQ Service will now start automatically on restart.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

