You must Sign In to post a response.
  • Category: ASP.NET

    Access Denied error while accessing message queues

    I have a dotnet application hosted on a server. This app is communicating with private queues on other server.
    Web app is able to send messages to queues but at the time of response its giving error-
    "Value: System.Messaging.MessageQueueException (0x80004005) Access to Message Queuing system is denied.
    at System.Messaging.MessageQueue.MQCacheableInfo.get_ReadHandle()
    at System.Messaging.MessageEnume".

    Web application is hosted on IIS under "Network Service" Pool Identity.
    I have given full access to ANONYMOUS LOGON, NETWORK SERVICE, EVERYONE but still no luck
    Please help me on this.
  • #768723

    As you mentioned. when you give Anonymous Logon it should work.
    If still its not working can you try out disabling the RPC call under the server security.

    Server Manager-->Features---> Right click in Message queuing--->Properties--->
    Tab "Server Security" and disable the option "Disable un-authenticated RPC calls".

    Try this let us know any luck


  • #768728
    I already disabled that. but still no luck.

  • Sign In to post your comments