Geeks With Blogs
Sathya Narayanan Srinivasan .NET Developer

The protocol 'net.msmq' is not supported

If you get this error you need to do the following steps :-

You can just do the following if everything is right in place for you :-

1. Open IIS -> Your Website -> Advanced Settings -> Enabled Protocols

       This will have only http. You need to add net.MSMQ separating it by a comma like this : http,net.MSMQ

2. If it still doesnt work you need to do the following for activating MSMQ in your machine :-

  • Open visual studio command prompt as administrator
  • Paste the below line as a single command and press enter

%windir%\system32\inetsrv\appcmd.exe set site "Default Web Site" -+bindings.[protocol='net.msmq',bindingInformation='localhost']

(Remember: If you have deployed it in a different Site in IIS you need to change the site name in the above command) 

 

If you are still having problems you can follow the steps given in the below URL :-

http://msdn.microsoft.com/en-us/library/ms752246.aspx

Posted on Wednesday, August 17, 2011 5:23 PM | Back to top


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

# re: The protocol 'net.msmq' is not supported
Requesting Gravatar...
Note that this doesn't really help if you are debugging in the Visual Studio Development Server. In this case I think non http protocols are not supported as of VS2008.
Left by Michael on Oct 16, 2012 3:54 AM

# re: The protocol 'net.msmq' is not supported
Requesting Gravatar...
The item 2 is missing the closing ']

i.e. it should be ...
%windir%\system32\inetsrv\appcmd.exe set site "Default Web Site" -+bindings.[protocol='net.msmq',bindingInformation='localhost']
Left by SteveC on May 21, 2015 1:47 PM

Your comment:
 (will show your gravatar)


Copyright © sathya | Powered by: GeeksWithBlogs.net | Join free