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