Reputation: 4307
as mentioned in the title of this post that I am having issues in connecting to a remote private msmq queue on windows 7 machine on workgroup.
I created a local queue and system is working and am able to succesfully queue my messages in the local queue but when I try to connect to a remote queue to queue my message i am unable to access it.
Both msmq services are installed on windows 7 machine and trying to access it using winforms c#. I tried so many blogs but dont know what I am missing. This is the error message I am receiving
Access to Message Queuing system is denied
and this is what I am using to connect to remote queue
FormatName:Direct=OS:machinename\private$\TestQueue
I also tried to give the ipaddress as well like this but no help
FormatName:Direct=TCP:ipaddress\private$\TestQueue
I have gone through lots of blogs but nothing helped.
Please suggest.
Thanks
Upvotes: 0
Views: 2003
Reputation: 1508
if you try to write to a remote queue, an outgoing queue is created on your machine locally. check out the permissions on this outgoing queue and see if there are any items in the outgoing queue. maybe the problem is not the remote machine
Upvotes: 0