Microsoft KB Archive/839928

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

Article ID: 839928

Article Last Modified on 3/20/2007

-

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:  Open the Computer Management window. To do this, follow these steps:  Click Start, and then click Run.

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

The Computer Management window appears. 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.  Start Microsoft Windows Explorer.</li> Locate the \System32\msmq\STORAGE\LQS folder.

Note The LQS files on your computer exist in the \System32\msmq\STORAGE\LQS folder. The placeholder  is a placeholder for the absolute path of your Microsoft Windows folder.</li> Add all the LQS files from the LQS folder to a temporary folder.</li> Add an LQS file from the temporary folder to the LQS folder.</li> Switch to the Computer Management window.</li> 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.</li> Repeat steps 5 through 7 until there are no LQS files in the first temporary folder.

The problem that is mentioned in the &quot;Symptoms&quot; section does not occur for the private queues that correspond to the uncorrupted LQS files.</li></ol>

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.

<div class="status_section">

STATUS
This behavior is by design.

<div class="moreinformation_section">

Steps to reproduce the problem
 Create two private queues on your computer. To do this, follow these steps:  Click Start, and then click Run.

The Run dialog box appears.</li> In the Open box, type compmgmt.msc, and then click OK.

The Computer Management window appears.</li> In the Computer Management window, expand Services and Applications in the left pane, expand Message Queuing, and then click Private Queues.</li> 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.</li> 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.</li> Repeat step d and step e to create a private queue that is named Queue2.</li> Close the Computer Management window.</li></ol> </li> <li>Start a text editor, such as Notepad.</li> <li>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.</li> <li> In the LQS file, delete the following text: [Properties] </li> <li>Save the changes that you made to the LQS file, and then exit the text editor.</li> <li>Click Start, and then click Run.

The Run dialog box appears.</li> <li>In the Open box, type compmgmt.msc, and then click OK.

The Computer Management window appears.</li> <li>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.</li> <li>Repeat step 1d and step 1e to create a private queue that is named Queue3.</li> <li>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.</li></ol>

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

<div class="references_section">