Microsoft KB Archive/936493

= Performance objects or bridge channel data may not appear as expected in Message Queuing =

Article ID: 936493

Article Last Modified on 5/22/2007

-

APPLIES TO


 * Microsoft Message Queuing 3.0
 * Microsoft Message Queuing 2.0

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
In Microsoft Message Queuing (also known as MSMQ), you may experience the following symptoms:
 * The MSMQ Service performance object and the MSMQ Queue performance object may be missing in Performance Monitor.
 * Bridge channel data may not appear in the MSMQ-MQSeries Bridge Manager. Additionally, all pipes are stopped and the option to start the pipes is not available.



CAUSE
This problem may occur if one or more of the following conditions are true:
 * The Message Queuing service is not started.
 * The required values do not appear in the  registry key.



RESOLUTION
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To resolve this problem, follow these methods in the order that they appear in. If Method 1 does not resolve the problem, follow the steps in Method 2. If Method 2 does not resolve the problem, follow the steps in Method 3.

Method 1: Verify that the Message Queuing service is started and that the registry values exist
Verify that the Message Queuing service is started. Additionally, verify that the following values exist in the registry.

Note The following values may be different on each computer:
 * First Counter
 * First Help
 * Last Counter
 * Last Help

Method 2: Reload the Message Queuing performance counters
To reload the Message Queuing performance counters, follow these steps:
 * 1) Click Start, click Run, type cmd, and then click OK.
 * 2) At the command prompt, type Unlodctr MSMQ, and then press ENTER.
 * 3) At the command prompt, type Lodctr Mqperf.ini, and then press ENTER.
 * 4) Restart the Message Queuing service.

After you complete step 4, you receive an information message that resembles the following in the Application event log:

Event Type: Information

Event Source: LoadPerf

Event Category: None

Event ID: 1000

Description: Performance counters for the MSMQ (Message Queuing) service were loaded successfully. The Record Data contains the new index values assigned to this service.

Method 3: Delete and then re-create registry keys
If the performance counters or the bridge channel data do not appear and you do not receive the information message that is mentioned in Method 2, delete and then re-create the following registry values:
 * Close
 * Collect
 * Open

To do this, follow these steps:  Click Start, click Run, type regedit, and then click OK. Locate and then click the following registry key:

 In the Details pane, right-click Close, and then click Delete. In the Details pane, right-click Collect, and then click Delete. In the Details pane, right-click Open, and then click Delete. Exit Registry Editor.</li> Click Start, click Run, type cmd, and then click OK.</li> At the command prompt, type Unlodctr MSMQ, and then press ENTER.</li> At the command prompt, type Lodctr Mqperf.ini, and then press ENTER.</li> Click Start, click Run, type regedit, and then click OK.</li> Locate and then click the following registry key:

</li> Click Edit, click New, and then click String Value.</li> Type Close, and then press ENTER.</li> Right-click Close, click Modify, type PerfClose in the Value data box, and then click OK.</li> Click Edit, click New, and then click String Value.</li> Type Collect, and then press ENTER.</li> Right-click Collect, click Modify, type PerfCollect in the Value data box, and then click OK.</li> Click Edit, click New, and then click String Value.</li> Type Open, and then press ENTER.</li> Right-click Open, click Modify, type PerfOpen in the Value data box, and then click OK.</li> Exit Registry Editor.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
The Message Queuing performance counters are dynamic. Therefore, the Message Queuing performance counters only appear in Performance Monitor if the Message Queuing service is started and the required values appear in the registry.

The MSMQ Queue performance object only lists a queue if there are messages in the queue or if the queue is active. The MSMQ Service performance object only lists queues that are in an active state.

To make a Message Queuing queue active, do one of the following:
 * Send or receive messages in the queue.
 * In the Computer Management snap-in, expand the queue that you want, and then click Queue Messages.

Keywords: kbtshoot kbprb KB936493

-

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

© Microsoft Corporation. All rights reserved.