Geeks With Blogs
MSMQ from the plumber's mate MSMQ is part of your business' IT plumbing which makes you the plumber and I'm your mate.

The “Lessons Learned” blog has an update covering the error message "The protocol 'net.msmq' is not supported."

"The protocol 'net.msmq' is not supported."

OMG, a new lesson! Will wonders never cease?

So I ran into an interesting issue setting up a WCF service to consume an MSMQ queue. I won't bother you with the details of how to actually build a WCF/MSMQ service; there are plenty of tutorials on the subject. I want to share with you an interesting error that I ran into and the surprisingly simple fix. The error occurs when attempting to generate a Service Reference or even simply browsing to the WSDL of your WCF/MSMQ service in the form of a YSOD with the following error:

"The protocol 'net.msmq' is not supported."

After a lot of Googling on the subject turning up plenty of questions with the same error but no answers. So I went digging into some application level config files on a server that already had a WCF/MSMQ service successfully set up by the network admin, and the answer was amazingly simple:

If you are hosting an MSMQ/WCF service in IIS, you have to tell IIS to allow net.msmq protocol. It's in the advanced settings for the application or site in which you are hosting the service.

.... aaaand, that's it.

Posted on Tuesday, December 28, 2010 12:17 AM | Back to top


Comments on this post: "The protocol 'net.msmq' is not supported."

# re: "The protocol 'net.msmq' is not supported."
Requesting Gravatar...
I am getting the same error and my situation is entirely the same except one thing, my site is hosted in the Visual Studio Web Server.

Any thoughts?
Left by M Williams on Jan 10, 2011 8:34 PM

# re: "The protocol 'net.msmq' is not supported."
Requesting Gravatar...
Hi M,
If you need an answer quickly, I would recommend posting a comment on the “Lessons Learned” blog which contains the original post.
I won't be able to look into this problem at the moment.
Cheers
John Breakwell
Left by John Breakwell on Jan 11, 2011 2:52 PM

# re: "The protocol 'net.msmq' is not supported."
Requesting Gravatar...
M Williams, did you find a solution to your problem. I ran into the same one. Maybe you could help me. Thanks!
Left by Essay Writer on Jan 24, 2011 3:29 PM

# re: "The protocol 'net.msmq' is not supported."
Requesting Gravatar...
THANK YOU FOR POSTING THIS! I would have never found that setting. You saved me a lot of time. I owe you a beer. :-)
Left by Kevin on Apr 28, 2011 11:09 PM

Your comment:
 (will show your gravatar)


Copyright © John Breakwell | Powered by: GeeksWithBlogs.net