Share via


You Cannot Access the Contents of a Particular Queue

Applies To: Windows Server 2008

Describes a specific problem with Message Queuing. Includes step-by-step instructions for fixing the problem.

This problem typically occurs when attempting to view the contents of a Message Queuing queue in Computer Management. When you attempt to view the contents of a queue you are unable to do so.

Diagnosis

Message Queuing displays all queues that are viewable by default. However, you can view the contents of only those queues that you have proper permissions to open. Therefore, there may be public queues whose contents are not viewable in the snap-ins.

Resolution

To resolve this problem, grant the appropriate permissions to the user that is attempting to view the contents of the queue.

To grant permissions to view the contents of a Message Queuing queue

  1. Click Start, point to Run, type compmgmt.msc, and press ENTER to display the Computer Management MMC console.

  2. In the console tree, right-click the applicable queue.

    Where?

    • Computer Management/Services and Applications/Message Queuing/YourQueueFolder (Public Queues or Private Queues)/YourQueue
  3. Click Properties.

  4. Click the Security tab.

  5. Select a group or user account from the list of accounts under Group or user names. If the account is not already listed click Add to add the appropriate group or user account and then select the account.

  6. Grant the Peek Message or Receive Message permission to the selected account. Grant the Peek Journal permission to the selected account to allow the account to view journal messages.

Verification

After granting the appropriate permissions, use Computer Management to view the contents of the queue for which permissions have been granted.

See Also

Concepts

Administering Queues for Message Queuing