Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WCF MSMQ Message queue not being processed

Tags:

iis

wcf

msmq

was

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.

like image 425
matthew Avatar asked Oct 11 '22 00:10

matthew


1 Answers

As @FelicePollano suggests, this may be a permissions problem. Here are specific items to check:

  1. 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.

  2. 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.

like image 176
Sixto Saez Avatar answered Oct 13 '22 12:10

Sixto Saez