Microsoft KB Archive/241760

= FIX: MSMQ Service will not Start with Corrupt Message =

Article ID: 241760

Article Last Modified on 6/24/2004

-

APPLIES TO


 * Microsoft Windows NT Server 4.0, Terminal Server Edition
 * Microsoft Message Queue Server 1.0

-



This article was previously published under Q241760



SYMPTOMS
The MSMQ service fails to start with an Windows NT Event 2083 indicating there are corrupt messages. Details on the specific file containing the bad message is contained in the event description. This event may be followed by Windows NT Event 2023.



CAUSE
If Microsoft Message Queue Server (MSMQ) is not shut down properly due to a computer crash or power outage, then the last batch of messages may not be flushed to disk. The message log file has already been updated indicating that the block of storage in the message file does contain valid messages even though the actual contents have not yet been written. This causes the MSMQ service to view this block as one or more corrupted messages when it restarts.



MSMQ
MSMQ service was changed to make sure that all messages are flushed to disk.

Windows NT Server 4.0, Terminal Server Edition
To resolve this problem, obtain the latest service pack for Windows NT Server 4.0, Terminal Server Edition. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

152734 How to Obtain the Latest Windows NT 4.0 Service Pack



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

This problem was first corrected in Windows NT Server version 4.0, Terminal Server Edition Service Pack 6.

This bug was corrected in Windows NT4 Service Pack 6.



MORE INFORMATION
The ID of the message file containing the corrupt message is contained in the message text accompanying the event ID 2083. This message file and the file with the same number but prefixed with an "l" may be removed from the MSMQ storage directory.

CAUTION: Removing this message file results in the loss of all other messages contained in this file.

Keywords: kbbug kbfix KB241760

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.