user1935938
user1935938

Reputation: 113

Net.Msmq Binding Not Picking Up Messages in Queue as soon as the application pool gets recycled

"when the application pool is "alive" the service picks up the messages correctly, but as soon as the application pool gets recycled (because of timeout or any other reason), the service stops picking up the messages, that just sit in the queue until the service starts again by browsing to the service webpage"

Have you find a solution, to activate the service without manualy browse the service.

Upvotes: 2

Views: 982

Answers (1)

The solution is to configure auto-start. Then IIS will start your service immediately without waiting for the first request.

But first you need to add AppFabric to your ISS, then you need be sure you have the "Start Mode" option in your pool advance settings.

Note: In my windows 7 IIS7 didnt work, but in my windows server 2012 R2 IIS8 Works perfectly

Also you can check this similar question: MSMQ WCF hosted in IIS

Upvotes: 1

Related Questions