I have private queue created with Anonymous, Everyone, NetworkService full control on a server which is in workgroup mode. I can send a message using .net stub without any issue where as it throws exception while receiving the message. I tried to read the message using
Message.Receive()
and Message.ReceiveByID()
both throws exception. I tried to add the registry key as told in below link but it did not work
https://blogs.msdn.microsoft.com/johnbreakwell/2007/01/15/msmq-3-0-too-secure-for-you/
MessageQueue messageQueue = new MessageQueue(queueFormatPath); var message = messageQueue.Receive();
MyMessageQueue.ReceiveById(e.Message.Id);
You're performing RPC communication so there are several areas to check, in addition to the one you've already found.
https://blogs.msdn.microsoft.com/johnbreakwell/2009/05/17/failing-to-read-from-remote-msmq-queues/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.