I wrote mvc that uses nservicebus to post messages. It works great under Cassini.
When I try to use IIS, I get an error when calling Create () to create a bus.
Access to the message queue system has been denied. Description: An unhandled exception occurred during the execution of the current web request. Check the stack trace for more information about the error and where it appeared in the code.
Exception Details: System.Messaging.MessageQueueException: Access to the Message Queuing system was denied.
I set up an anonymous access user in the IIS virtual directory as my own domain account, which is a member of the administrators group on the local computer. I granted the same users full permissions in the queue, as well as NETWORK SERVICE and ASPNET.
Any help with this issue would be greatly appreciated!
source
share