Some private queues may not appear or may disappear when you update the view in the Computer Management window (839928)



The information in this article applies to:

  • Microsoft Message Queuing 2.0

SYMPTOMS

Some private queues may not appear in the Computer Management window. Additionally, after you create several private queues, and then you update the view in the Computer Management window, you may notice that some private queues disappear.

CAUSE

This problem occurs because one or more of the local queue storage (LQS) files on your computer is corrupted. This problem occurs for the private queues that correspond to the corrupted LQS files. This problem also occurs for all private queues that are created after the private queues that correspond to the corrupted LQS files.

Note Each private queue on your computer has an associated LQS file.

WORKAROUND

To work around this problem for the private queues that have uncorrupted LQS files, you must remove the corrupted LQS files from the LQS folder. To do this, follow these steps:
  1. Open the Computer Management window. To do this, follow these steps:
    1. Click Start, and then click Run.

      The Run dialog box appears.
    2. In the Open box, type compmgmt.msc, and then click OK.

      The Computer Management window appears.
    3. In the Computer Management window, expand Services and Applications in the left pane, expand Message Queuing, and then click Private Queues.

      Notice that some private queues do not appear in the right pane of the Computer Management window.
  2. Start Microsoft Windows Explorer.
  3. Locate the %WINDIR%\System32\msmq\STORAGE\LQS folder.

    Note The LQS files on your computer exist in the %WINDIR%\System32\msmq\STORAGE\LQS folder. The placeholder %WINDIR% is a placeholder for the absolute path of your Microsoft Windows folder.
  4. Add all the LQS files from the LQS folder to a temporary folder.
  5. Add an LQS file from the temporary folder to the LQS folder.
  6. Switch to the Computer Management window.
  7. In the left pane of the Computer Management window, right-click Private Queues, and then click Refresh.

    If a new private queue does not appear in the right pane of the Computer Management window, the LQS file that you moved in step 5 is corrupted, and you must move this LQS file to another temporary folder.
  8. Repeat steps 5 through 7 until there are no LQS files in the first temporary folder.

    The problem that is mentioned in the "Symptoms" section does not occur for the private queues that correspond to the uncorrupted LQS files.
Note If you have a limited number of queues, an easier way to find the problem file is to open each LQS file in Notepad. If the format does not match the one that is listed, the queue is causing the problem. Frequently, the corrupted LQS file is blank or is missing whole sections.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to reproduce the problem

  1. Create two private queues on your computer. To do this, follow these steps:
    1. Click Start, and then click Run.

      The Run dialog box appears.
    2. In the Open box, type compmgmt.msc, and then click OK.

      The Computer Management window appears.
    3. In the Computer Management window, expand Services and Applications in the left pane, expand Message Queuing, and then click Private Queues.
    4. In the Computer Management window, right-click Private Queues in the left pane, point to New, and then click Private Queue.

      If you are using Microsoft Windows Server 2003 or Microsoft Windows XP, the New Private Queue dialog box appears. If you are using Microsoft Windows 2000, the Queue Name dialog box appears.
    5. In the Queue name box, type Queue1 if you are using Windows Server 2003 or Windows XP, and then click OK. In the Name box, type Queue1 if you are using Windows 2000, and then click OK.
    6. Repeat step d and step e to create a private queue that is named Queue2.
    7. Close the Computer Management window.
  2. Start a text editor, such as Notepad.
  3. In the text editor, open the LQS file that corresponds to the Queue1 private queue.

    Note You can identify this LQS file by checking the modified date.
  4. In the LQS file, delete the following text:
    [Properties]
  5. Save the changes that you made to the LQS file, and then exit the text editor.
  6. Click Start, and then click Run.

    The Run dialog box appears.
  7. In the Open box, type compmgmt.msc, and then click OK.

    The Computer Management window appears.
  8. In the Computer Management window, expand Services and Applications in the left pane, expand Message Queuing, and then click Private Queues.

    Notice that Queue1 and Queue2 do not appear in the right pane of the Computer Management window.
  9. Repeat step 1d and step 1e to create a private queue that is named Queue3.
  10. In the Computer Management window, right-click Private Queues in the left pane, and then click Refresh.

    Notice that Queue3 disappears from the right pane of the Computer Management window.

Typical format of an uncorrupted LQS file

The typical format of an uncorrupted LQS file follows:
[Properties]
Label=private$\mqis_queue$
Type=00000000-0000-0000-0000-000000000000
QueueName=\private$\mqis_queue$
Journal=00
Quota=4294967295
Security=010007804800000054000000000000001400000002003400020000000000140024000200010100000000000100000000000018003f000e0001020000000000052000000020020000010100000000000512000000010100000000000512000000
JournalQuota=4294967295
CreateTime=1081862659
BasePriority=32767
ModifyTime=1081862659
Authenticate=00
PrivLevel=1
Transaction=00
SystemQueue=01
Signature=DoronJ

REFERENCES

For additional information about message queuing and queued components, visit the following Microsoft Developer Network (MSDN) Web site:

Modification Type:MajorLast Reviewed:4/28/2005
Keywords:kbprb kbformat kbcorrupt KB839928 kbAudDeveloper