Why can't I connect to the remote msmq private queue in windows 8 of the workgroup?

I cannot connect to private MSMQ on a remote machine.

I tried many ways like ..

  • MessageQueue rmQ = new MessageQueue("FormatName:Direct=OS:<hostname>\\private$\\<queuename>");

  • MessageQueue rmQ = new MessageQueue("FormatName:Direct=TCP:<hostIp>\\private$\\<queuename>");

  • Also set the allowed full control over the queue for all and anonynmouse users.

  • Disable firewall.

  • Unauthorized Rpc is allowed on both machines.

But no luck. I receive an error message Access to the message queue system was denied. I also noticed that the designated "rmQ" object has a MessageQueueException for all properties.

Any help on connecting a remote MSMQ would be greatly appreciated. Thanks in extended.

+4
source share
2 answers
  • Make sure that the computer from which you are sending the message has MSMQ 5.0 installed.
0
source

As you get "Access Denied", you should try remote reception over RPC.

Understanding MSMQ Security Blocking RPC Traffic

0
source

Source: https://habr.com/ru/post/1500926/


All Articles