Dear all

I have a private MSMQ on a server in workgroup mode (SBS 2011)

On a client I can see the queue using System.Messaging.MessageQueue.GetPrivateQueuesByMachine(servername) and am able to read the name of the queue.

I am able to write to the queue but am unable to retrieve anything from it.

On the server the permissions are set for my login, Administraor and Anonymouse Login for full control but I still cant get the data from the queue. Ultimately this will be part of a service so there will be no login name.

When I use QueueName.GetAllMessages I get a reply back saying "Access to Message Queueing is denied." WHat am I doing wrong ?

Thanks in advance for all your help.

A quick google search returned a few things.

One being permissions the other being this.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.