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.
source share