<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MSMQ, WCF and IIS: Getting them to play nice (Part 1)</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx</link><description>A few weeks ago I posted an article describing how my current team built a publish/subscribe message bus using WCF and MSMQ . At that time we had only deployed the application in a single-server test environment. While there were a few tricks to getting</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Dew Drop - July 12, 2008 | Alvin Ashcraft's Morning Dew</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8724159</link><pubDate>Sat, 12 Jul 2008 16:30:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8724159</guid><dc:creator>Dew Drop - July 12, 2008 | Alvin Ashcraft's Morning Dew</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.alvinashcraft.com/2008/07/12/dew-drop-july-12-2008/"&gt;http://www.alvinashcraft.com/2008/07/12/dew-drop-july-12-2008/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>New and Notable 251</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8724396</link><pubDate>Sat, 12 Jul 2008 18:49:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8724396</guid><dc:creator>Sam Gentile  The World According to MSCOREE</dc:creator><description>&lt;p&gt;.NET/C#/Functional Programming The very useful CR_Documentor 2.0 has been released with Sandcastle Preview&lt;/p&gt;
</description></item><item><title>MSMQ, WCF and IIS: Getting them to play nice (Part 3)</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8745154</link><pubDate>Fri, 18 Jul 2008 02:31:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8745154</guid><dc:creator>Tom Hollander's blog</dc:creator><description>&lt;p&gt;Previously, in MSMQ, WCF and IIS: Getting them to play nice: In Part 1 , we built a client and IIS-hosted&lt;/p&gt;
</description></item><item><title>re: MSMQ, WCF and IIS: Getting them to play nice (Part 1)</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8746789</link><pubDate>Fri, 18 Jul 2008 08:29:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8746789</guid><dc:creator>Raag</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;It better if there was a sample project with this.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Raag &lt;/p&gt;
</description></item><item><title>MSMQ, WCF and IIS: Getting them to play nice Series</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8748949</link><pubDate>Fri, 18 Jul 2008 15:35:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8748949</guid><dc:creator>Hosam Kamel</dc:creator><description>&lt;p&gt;EnjoyA nice series of articles by Tom Hollander Part 1 Part 2 Part 3 &amp;amp;#160; Enjoy ....&lt;/p&gt;
</description></item><item><title>re: MSMQ, WCF and IIS: Getting them to play nice (Part 1)</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8752659</link><pubDate>Sat, 19 Jul 2008 04:27:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8752659</guid><dc:creator>tomholl</dc:creator><description>&lt;p&gt;Raag - I've posted the finished sample code as an attachment to Part 3. Enjoy!&lt;/p&gt;
</description></item><item><title>re: MSMQ, WCF and IIS: Getting them to play nice (Part 1)</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8763800</link><pubDate>Tue, 22 Jul 2008 15:05:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8763800</guid><dc:creator>Bala</dc:creator><description>&lt;p&gt;whilr trying to run the MsmqService Iam getting the following Error.&lt;/p&gt;
&lt;p&gt;&amp;quot;The protocol 'net.msmq' is not supported&amp;quot;&lt;/p&gt;
&lt;p&gt;Please giv me the solution.&lt;/p&gt;
&lt;p&gt;And tell me the steps i need to do in the sample that u have attached with this Blog.&lt;/p&gt;
&lt;p&gt;Thanks in Advance,&lt;/p&gt;
&lt;p&gt;Bala&lt;/p&gt;
</description></item><item><title>re: MSMQ, WCF and IIS: Getting them to play nice (Part 1)</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8765278</link><pubDate>Wed, 23 Jul 2008 02:32:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8765278</guid><dc:creator>tomholl</dc:creator><description>&lt;p&gt;Bala - did you run the appcmd scripts to enable the net.msmq protocol for the web site and your specific application?&lt;/p&gt;
</description></item><item><title>re: MSMQ, WCF and IIS: Getting them to play nice (Part 1)</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8784190</link><pubDate>Mon, 28 Jul 2008 16:27:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8784190</guid><dc:creator>Sam Gentile</dc:creator><description>&lt;p&gt;Tom,&lt;/p&gt;
&lt;p&gt;I had a problem with the appcmd command:&lt;/p&gt;
&lt;p&gt;C:\Program Files\Microsoft Visual Studio 9.0\VC&amp;gt;appcmd set app &amp;quot;Default Web Site&lt;/p&gt;
&lt;p&gt;/MsmqService&amp;quot; /enabledProtocols:net.msmq&lt;/p&gt;
&lt;p&gt;ERROR ( message:Must use exact identifer for APP object with verb SET. )&lt;/p&gt;
&lt;p&gt;What am I doing wrong?&lt;/p&gt;
</description></item><item><title>re: MSMQ, WCF and IIS: Getting them to play nice (Part 1)</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8784225</link><pubDate>Mon, 28 Jul 2008 16:37:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8784225</guid><dc:creator>Sam Gentile</dc:creator><description>&lt;p&gt;Even if I do it for the whole site, I am getting that net.msmq is not supported:&lt;/p&gt;
&lt;p&gt;C:\Program Files\Microsoft Visual Studio 9.0\VC&amp;gt;appcmd set site &amp;quot;Default Web Sit&lt;/p&gt;
&lt;p&gt;e&amp;quot; -+bindings.[protocol='net.msmq',bindingInformation='localhost']&lt;/p&gt;
&lt;p&gt;SITE object &amp;quot;Default Web Site&amp;quot; changed&lt;/p&gt;
&lt;p&gt;Server Error in '/' Application.&lt;/p&gt;
&lt;p&gt;--------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;The protocol 'net.msmq' is not supported. &lt;/p&gt;
&lt;p&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;/p&gt;
&lt;p&gt;Exception Details: System.InvalidOperationException: The protocol 'net.msmq' is not supported.&lt;/p&gt;
</description></item><item><title>re: MSMQ, WCF and IIS: Getting them to play nice (Part 1)</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8784256</link><pubDate>Mon, 28 Jul 2008 16:46:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8784256</guid><dc:creator>Sam Gentile</dc:creator><description>&lt;p&gt;I see now that you said, &amp;quot;Unfortunately there isn't any equivalent way to &amp;quot;browse&amp;quot; to an MSMQ service, so simple configuration errors can be very hard to track down. &amp;quot; So in the last reply, that's what I was trying to do.&lt;/p&gt;
&lt;p&gt;After setting the whole site for net.msmq, I get messages in the MSMQ private queue. However, I don't think they are getting picked up by the service. I can't find a trace. Is it writing a trace somewhere? How can I tell if the service is getting the message?&lt;/p&gt;
</description></item><item><title>re: MSMQ, WCF and IIS: Getting them to play nice (Part 1)</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8785628</link><pubDate>Mon, 28 Jul 2008 23:58:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8785628</guid><dc:creator>tomholl</dc:creator><description>&lt;p&gt;Hi Sam -&lt;/p&gt;
&lt;p&gt;Make sure you run both appcmd scripts successfully. The site-level one is required to enable the binding, and the app-level one to switch it on for that specific app. If you're getting a &amp;quot;protocol not supported&amp;quot; message it looks like you didn't successfully switch it on for the site.&lt;/p&gt;
&lt;p&gt;If messages are not being picked up from the queue, then either your service isn't listening at all, or it's trying to listen but it's unable to receive for some reason (eg permissions). If you switch on WCF diagnostics (the normal way, using the &amp;lt;system.serviceModel&amp;gt;&amp;lt;diagnostics&amp;gt; section) you may get some clues. If nothing is logged, it means the service may not be listening at all.&lt;/p&gt;
&lt;p&gt;HTH&lt;/p&gt;
&lt;p&gt;Tom&lt;/p&gt;
</description></item><item><title>re: MSMQ, WCF and IIS: Getting them to play nice (Part 1)</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8787927</link><pubDate>Tue, 29 Jul 2008 12:25:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8787927</guid><dc:creator>Laurent Liegeois</dc:creator><description>&lt;p&gt;Hi Tom,&lt;/p&gt;
&lt;p&gt;First thank you for such work, as hosting in WAS is not so frequent...&lt;/p&gt;
&lt;p&gt;I have the same effect Sam has. Using sample adapted to fit Part I, my queue is filled, but nobody pick up the messages.&lt;/p&gt;
&lt;p&gt;So I followed your &amp;quot;troubleshooting&amp;quot; section and activate http to check WCF config.&lt;/p&gt;
&lt;p&gt;And funny part, when I browse the svc, the website starts running and ... the messages are picked up, trace.log generated and messages disappeared from the queue ! wonderful !&lt;/p&gt;
&lt;p&gt;Each time I recycle the queue, or restart the website, I have the same effect: need to browse the svc to start the pumping mechanism.&lt;/p&gt;
&lt;p&gt;I certainly miss something....&lt;/p&gt;
&lt;p&gt;Thanks a lot if you have an idea...&lt;/p&gt;
&lt;p&gt;Sam, do you notice the same effect ?&lt;/p&gt;
&lt;p&gt;Laurent&lt;/p&gt;
</description></item><item><title>Asynchronous Messaging and Event Driven Architecture Slide Deck Up + Resources</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8799751</link><pubDate>Fri, 01 Aug 2008 16:36:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8799751</guid><dc:creator>Sam Gentile  The World According to MSCOREE</dc:creator><description>&lt;p&gt;Tonight&amp;amp;#39;s slide deck is up here . After the presentation, Steve Andrews was kind enough to come all&lt;/p&gt;
</description></item><item><title>re: MSMQ, WCF and IIS: Getting them to play nice (Part 1)</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8836001</link><pubDate>Wed, 06 Aug 2008 07:23:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8836001</guid><dc:creator>tomholl</dc:creator><description>&lt;p&gt;Laurent - this probably means that the net.msmq listener service doesn't have permission to peek from the queue. The service itself is able to receive the messages, but it can't be woken up by the net.msmq listener. Make sure that the account that the net.msmq service runs under (NETWORK SERVICE by default) has the necessary permissions.&lt;/p&gt;
&lt;p&gt;Tom&lt;/p&gt;
</description></item><item><title>re: MSMQ, WCF and IIS: Getting them to play nice (Part 1)</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8840652</link><pubDate>Thu, 07 Aug 2008 11:35:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8840652</guid><dc:creator>Laurent Liégeois</dc:creator><description>&lt;p&gt;Tom,&lt;/p&gt;
&lt;p&gt;Thanks ! this was a security issue. Although NETWORK SERVICE has full control to the queue, it did'nt work. I had to give full right to the computer account (&amp;lt;computername&amp;gt;$) on the queue in order to work.&lt;/p&gt;
&lt;p&gt;No time to check why, I just wanted to validate we can host WCF services &amp;quot;natively&amp;quot; in Windows Server 2008, I'm happy with that !&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;Laurent&lt;/p&gt;
</description></item><item><title>re: MSMQ, WCF and IIS: Getting them to play nice (Part 1)</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8841229</link><pubDate>Thu, 07 Aug 2008 18:54:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8841229</guid><dc:creator>Bjorn</dc:creator><description>&lt;p&gt;Thanks for a great article about WCF - MSMQ - IIS7&lt;/p&gt;
&lt;p&gt;I had trouble removing the messages automatically from the queue and then I found in the Services application a service called:&lt;/p&gt;
&lt;p&gt;&amp;quot;NetMsmqActivator&amp;quot;&lt;/p&gt;
&lt;p&gt;with display name:&lt;/p&gt;
&lt;p&gt;&amp;quot;Net.Msmq Listener Adapter&amp;quot;&lt;/p&gt;
&lt;p&gt;and desription:&lt;/p&gt;
&lt;p&gt;&amp;quot;Receives activation requests over the net.msmq and msmq.formatname protocols and passes them to the Windows Process Activation Service.&amp;quot;&lt;/p&gt;
&lt;p&gt;and this service was &amp;quot;disabled&amp;quot; by default on my machine... I changed the startup type to &amp;quot;automatic&amp;quot; and started it, then I received the messages no problem.&lt;/p&gt;
</description></item><item><title>轻松玩转MSMQ, WCF和 IIS 7.0</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8850617</link><pubDate>Tue, 12 Aug 2008 14:55:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8850617</guid><dc:creator>EntLib</dc:creator><description>&lt;p&gt;方案的设计目标是在Client/Server端建立可靠的、异步的通信。系统采用MSMQ作为传输机制，因为MSMQ支持可靠的队列通信。MSMQ部署在三方Server上（一般集群部署，避免单点故障）。Client端应用程序使用WCF的NetMsmqBingding 来发送消息到MSMQ Server的私有队列。Service 服务程序将部署在IIS 7.0，并采用Windows Activation Services（WAS）来监听消息队列上的新消息。通过SMSvnHost.exe – Windows&lt;/p&gt;
</description></item><item><title>轻松玩转MSMQ, WCF和 IIS 7.0</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8850805</link><pubDate>Tue, 12 Aug 2008 15:25:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8850805</guid><dc:creator>cnblogs.com</dc:creator><description>&lt;p&gt;轻松玩转 MSMQ, WCF 和 IIS 7.0 MSMQ, WCF and IIS: Getting them to play nice by Tom Hollander Tom Hollander&lt;/p&gt;
</description></item><item><title>[导入]轻松玩转MSMQ, WCF和 IIS 7.0</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8856955</link><pubDate>Wed, 13 Aug 2008 11:45:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8856955</guid><dc:creator>磊哥</dc:creator><description>&lt;p&gt;轻松玩转MSMQ,WCF和IIS7.0&lt;/p&gt;
&lt;p&gt;MSMQ,WCFandIIS:Gettingthemtoplaynice&lt;/p&gt;
&lt;p&gt;byTomHollander&lt;/p&gt;
</description></item><item><title>MSMQ, WCF and IIS: Getting them to play nice (Part 2)[转]</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8967945</link><pubDate>Sun, 28 Sep 2008 11:58:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8967945</guid><dc:creator>一想天开</dc:creator><description>&lt;p&gt;Welcomeback!InPart1ofthistale,we'dsuccessfullyconfiguredaWCFclientandanIIS-hostedse...&lt;/p&gt;
</description></item><item><title>MSMQ, WCF and IIS: Getting them to play nice (Part 3)[转]</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#8967948</link><pubDate>Sun, 28 Sep 2008 11:59:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8967948</guid><dc:creator>一想天开</dc:creator><description>&lt;p&gt;Previously,inMSMQ,WCFandIIS:Gettingthemtoplaynice: InPart1,webuiltaclientand...&lt;/p&gt;
</description></item><item><title>Asynchronous Messaging and Event Driven Architecture Slide Deck Up + Resources</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#9165743</link><pubDate>Tue, 02 Dec 2008 22:17:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9165743</guid><dc:creator>Sam Gentile's Blog</dc:creator><description>&lt;p&gt;Tonight&amp;amp;#39;s slide deck is up here . After the presentation, Steve Andrews was kind enough to come all the way out to my house, and help fix some workgroup edition permission issues with TFS on Windows Server 2003, and now all the code is checked in&lt;/p&gt;
</description></item><item><title>Asynchronous Messaging and Event Driven Architecture Slide Deck Up + Resources</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#9393797</link><pubDate>Wed, 04 Feb 2009 00:16:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9393797</guid><dc:creator>Sam Gentile's Blog (if (DeveloperTask == Communication &amp;&amp; OS == Windows)</dc:creator><description>&lt;p&gt;Tonight's slide deck is up here . After the presentation, Steve Andrews was kind enough to come all the way out to my house, and help fix some workgroup edition permission issues with TFS on Windows Server 2003, and now all the code is checked in as well.&lt;/p&gt;
</description></item><item><title>MSMQ and WCF: Getting Started</title><link>http://blogs.msdn.com/tomholl/archive/2008/07/12/msmq-wcf-and-iis-getting-them-to-play-nice-part-1.aspx#9674176</link><pubDate>Mon, 01 Jun 2009 06:38:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9674176</guid><dc:creator>Motley Queüe</dc:creator><description>&lt;p&gt;Windows Communication Foundation (WCF) provides a powerful programming model to develop service-oriented&lt;/p&gt;
</description></item></channel></rss>