tags:

views:

707

answers:

1

I am trying to send and receive from a remote queue. I can get the send to work (I see the message in the queue), however, when I try to receive I get an access denied error. My computer is on a different domain than the remote queue's computer, so I'm pretty sure this has something to do with the issue. Here is the code snippet:

MessageQueue queue = new MessageQueue(@"FormatName:DIRECT=OS:DEVAPP002\private$\queuetest"); queue.Send("This is a test"); Message msg = queue.Receive(); // Kaboom

A: 

To test if permissions are your problem, check that the Anonymous User has read/write access to the queue.

The Everyone user means everyone logged in the domain, at least with respect to the queuing service.

Vinko Vrsalovic