FIX: MSMQ Service will not Start with Corrupt Message (241760)



The information in this article applies to:

  • Microsoft Windows NT Server 4.0 Terminal Server Edition
  • Microsoft Message Queue Server (MSMQ) 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.

RESOLUTION

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.

Modification Type:MajorLast Reviewed:6/24/2004
Keywords:kbbug kbfix KB241760