Click here to Skip to main content
15,888,210 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
My asp.net stie uses message queue to transfer and receive messages,but my site giving error that Access to message queue is denied.

What could be possible reasons for this,

Note-

1)My current user have full administrative access.
2)I also tried giving permission manually to everyone,but this wont affect.
3)Is there something missing when i installed message queuing service from server manager.
4)Event viewer also not shown anything.
5)my database log shown Access to message queue is denied
6)I already restarted message queue service.
Posted
Updated 12-Oct-15 23:28pm
v3
Comments
ZurdoDev 12-Oct-15 8:12am    
The identity account on your app pool needs to have permissions.
Mangesh9692 12-Oct-15 8:34am    
Thanks for response.

But how to set that.
ZurdoDev 12-Oct-15 8:35am    
MSMQ permissions: https://technet.microsoft.com/en-us/library/cc732135(v=ws.10).aspx
Mangesh9692 12-Oct-15 8:45am    
hi Ryan as already mentioned that i already given full access to everyone as per link you suggest.
This link is given permission to user. Any other help appreciated.
ZurdoDev 12-Oct-15 8:47am    
I would still make sure the account on your app pool has specific permissions. The error is clear, and I've only seen it give that error for one reason.

1 solution

After lots of research i found perfect solution for this.

When you install MSMQ for winodws their are two different mode available for installation one is workgroup other one is domain.

Please install MSMQ in domain mode when your machine in domain or install MSMQ in workgroup mode when your machine is in work goup.

How to install MSMQ in domain and workgoup

Sever manager-->add role and feature-->next-->In MSMQ feature select Directory service integration(for domain installation) and uncheck this for work group installtion.

This really solves your problem...enjoy...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900