I have setup a WCF service that i am running on IIS 7 that uses MSMQ message queueing, The messages are being put into the queue correctly on the server but the WCF service isn’t processing them so the queue just builds up.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As @FelicePollano suggests, this may be a permissions problem. Here are specific items to check:
Make sure that account for the Net.Msmq Listener Adapter Windows service has these permissions to the queue that your service is using: receive message, peek message, send message, get properties, and get permissions. You have to go to Message Queuing node in Computer Manager control panel app to set/check these. By default, this is the Network Service account.
Make sure the account for service site AppPool also has permissions to the queue. The permission should be set to full control.
If these are not set up this way then make the changes, restart the AppPool and also restart the Net.Msmq Listener Adapter Windows service. If everything is working correctly the queue should automatically drain itself.