A Message Queuing message does not include the security header when you use WCF to send the message in Workgroup mode

Article translations Article translations
Article ID: 952570 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

When you run Microsoft Message Queuing (also known as MSMQ) in Workgroup mode, and a user sends a message by using Windows Communication Foundation (WCF), the message does not include the security header. Therefore, the message does not contain the user ID of the sender. Therefore, you cannot use queue level security on the destination queue.

WORKAROUND

To work around this behavior, modify the destination queue level security so that the destination queue allows messages to be received from the Anonymous Logon user. To do this, follow these steps:
  1. Click Start, click Run, type compmgmt.msc in the Open box, and then click OK.
  2. In the Computer Management console, expand Services and Applications, and then expand Message Queuing.
  3. Right-click the destination queue, and then click Properties.
  4. Click the Security tab, click ANONYMOUS LOGON in the Group or user names list, and then select the Allow box next to the Receive Message permission.
  5. Click OK.
  6. In the Computer Management console, expand Services and Applications, and then click Services.
  7. In the Services list, locate the Message Queuing service.
  8. Right-click the Message Queuing service, and then click Restart.

MORE INFORMATION

Queue level security is available when Message Queuing is installed with the Active Directory Integration feature enabled. Additionally, WCF provides several new security mechanisms to improve messaging security. These mechanisms includes encryption, certificates, and Active Directory security.

For more information, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/ms789030.aspx

Properties

Article ID: 952570 - Last Review: May 22, 2008 - Revision: 1.0
APPLIES TO
  • Microsoft Message Queuing 2.0
  • Microsoft Message Queuing 3.0
  • Microsoft Message Queuing 4.0
Keywords: 
kbexpertiseadvanced kbtshoot kbprb KB952570

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com