Last post Jul 17, 2015 07:19 AM by billcrawley
Jul 17, 2015 06:36 AM|billcrawley|LINK
I have MSMQ installed on windows Server 2008 R2 Datacenter with SP1. I have full control of the private queue that I have created.
On my Developer machine I have MSMQ installed as a workgroup (wasn't given an option to install it any other way). I have written some code that writes happily to the queue and now I'm trying to write code that will receive from the queue. I keep getting
'Access to message queue system is denied'. I thought it might be because I haven't set up a reciprocal queue in the workgroup so I've done that, but I still get the same error.
Jul 17, 2015 07:19 AM|billcrawley|LINK
Strange one. On the method that I have written to read from the queue, when Creating the Messagequeue object, When I set 'QueueAccessMode.ReceiveAndAdmin' that's when it errors. If I set it to just 'Receive' the error goes.