Hi
I have a private queue on a remote machine that everyone and the anonymous login have full access to. The following code produces and error when trying to receive:
var qpath = @"FormatName:DIRECT=TCP:xx.xx.xx.xx\PRIVATE$\QueueName";
var q = new MessageQueue(qpath);
var msg = new Message();
msg.AttachSenderId = false;
msg.Recoverable = true;
msg.Body = "hello";
q.Send(msg); // <-- this works!
var recMsg = q.Receive(TimeSpan.Zero); // <-- this breaks! :|
- The Error message is: Message Queue service is not available.
- The sent message are ending up in the queue on the remote machine
- The same happens when using OS:MachineName instead of TCP:xx.xx.xx.xx
- The queue server is not part of the domain.
Any ideas?