tags:

views:

420

answers:

1

Hi,

I have to WCF services which use the net.msmq protocol, hosted in IIS 7. My problem is that the services do not activate when a new message appears on the queue, you have to physically browse to the services first, before they will start picking up any messages.

Is there any way to auto activate these services?

Thanks in advance for any help

Kind Regards, Brian

+1  A: 

There's a really good three-part series on getting WCF, MSMQ and IIS up and running and playing nicely together on Tom Hollander's blog:

Maybe those will help? MSMQ hosted in IIS7 should definitely be picking up the WCF messages automatically, if everything is configured correctly.

There's a few settings that aren't set out of the box - see part 1. You may need to add and enable additional Windows features, and you could need to run the appcmd.exe tool to configure WAS (Windows Activation Server, part of IIS7) to automatically handle non-http requests.

Marc

marc_s