<?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>Jose Luis Calvo : MQSeries</title><link>http://blogs.msdn.com/joselcs/archive/tags/MQSeries/default.aspx</link><description>Tags: MQSeries</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Upgrading MQSeries Adapter from BizTalk 2004 to 2006</title><link>http://blogs.msdn.com/joselcs/archive/2006/06/21/upgrading-mqseries-adapter-from-biztalk-2004-to-2006.aspx</link><pubDate>Wed, 21 Jun 2006 22:42:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:642038</guid><dc:creator>joselcs</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/joselcs/comments/642038.aspx</comments><wfw:commentRss>http://blogs.msdn.com/joselcs/commentrss.aspx?PostID=642038</wfw:commentRss><description>&lt;P&gt;I have an environment with BizTalk 2004 and the MQSeries Adapter which I’m upgrading to BizTalk 2006. I have updated the BizTalk server and a development computer and tried to create a couple of ports. I had this error when trying to configure the MQSeries port, when opening the Queue Manager combo in the Queue Definition dialog box: &lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN style="COLOR: black"&gt;The adapter is not installed or configured correctly on the server. The COM exception is: Retrieving the COM class factory for remote component with CLSID {86E96D72-0011-4B28-B1AC-BF52AB47F1B4} from machine failed due to the following error: 80040154. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The issue is pretty simple; the MQSeries agent running on the MQSeries server needs to be updated also. The BizTalk setup has the option for install the MQSeries agent under the “Additional Software” branch. &lt;/P&gt;
&lt;A href="http://blogs.msdn.com/photos/joselcs/images/647881/original.aspx" target=_blank&gt;&lt;IMG src="http://blogs.msdn.com/photos/joselcs/images/647881/secondarythumb.aspx" border=0&gt;&lt;/A&gt;
&lt;P&gt;Also, the MQSeries Manager needs to be updated to the Windows 2003 Server SP1 and some other new requirements. &lt;/P&gt;
&lt;P&gt;After that I still had the message: &lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN style="COLOR: black"&gt;Retrieving the COM class factory for remote component with CLSID {86E96D72-0011-4B28-B1AC-BF52AB47F1B4} from machine failed due to the following error: 80070005. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;And a new “Access Denied” appeared on the old BizTalk 2004 machine. So, the Windows 2003 Server SP1 has something to do here. My first guess was about a new default security on DTC. &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=5e325025-4dcd-4658-a549-1d549ac17644&amp;amp;DisplayLang=en"&gt;DTCPing&lt;/A&gt; wasn’t running, so I did the &lt;A href="http://blogs.msdn.com/florinlazar/archive/2004/06/18/159127.aspx"&gt;calls anonymous&lt;/A&gt; and some &lt;A href="http://msdn.microsoft.com/security/productinfo/XPSP2/networkprotection/restrict_remote_clients.aspx"&gt;registry changes&lt;/A&gt; on the client, DTCPing run perfectly but I still had the 80070005 error. &lt;/P&gt;
&lt;P&gt;Finally I noticed a &lt;A href="http://technet2.microsoft.com/WindowsServer/en/Library/4c9a2873-2010-4dbb-b9dd-6a7d1e275f0f1033.mspx?mfr=true"&gt;new local group&lt;/A&gt; called “Distributed COM Users”. Seems pretty straightforward. I added the Visual Studio user to the group for configuration and the BizTalk host user for execution, and everything running!! &lt;/P&gt;
&lt;P&gt;If interested on running different BizTalk versions against the same MQSeries manager, the new MQSeries Agent &lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/BTS06Operations/html/278a13ff-8e46-4af4-a76e-b6d4aad5b768.asp?frame=true"&gt;runs side by side&lt;/A&gt; with 2006, 2004 and 2002 BizTalk releases. Also interesting, this new release has a wizard for configuring the COM+ Application –which avoids some &lt;A href="http://blogs.msdn.com/joselcs/archive/2005/10/26/485356.aspx"&gt;common errors&lt;/A&gt;-, named MQSAgent2.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=642038" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/joselcs/archive/tags/Biztalk/default.aspx">Biztalk</category><category domain="http://blogs.msdn.com/joselcs/archive/tags/MQSeries/default.aspx">MQSeries</category></item><item><title>BizTalk 2004 Adapter for MQ WebSphere 2.0</title><link>http://blogs.msdn.com/joselcs/archive/2005/10/26/biztalk-2004-adapter-for-mq-websphere-2-0.aspx</link><pubDate>Thu, 27 Oct 2005 00:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:485356</guid><dc:creator>joselcs</dc:creator><slash:comments>5</slash:comments><comments>http://blogs.msdn.com/joselcs/comments/485356.aspx</comments><wfw:commentRss>http://blogs.msdn.com/joselcs/commentrss.aspx?PostID=485356</wfw:commentRss><description>&lt;P&gt;I have spent a couple of days doing some proof of concepts with the &lt;A href="http://www.microsoft.com/biztalk/evaluation/adapter/adapters/mqseries/2004/default.mspx"&gt;MQSeries Adapter&lt;/A&gt;, and I have found some issues which took me some time solving.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 8.5pt; FONT-FAMILY: 'MS Shell Dlg'; mso-ansi-language: EN-GB"&gt;&lt;STRONG&gt;Access Denied&lt;/STRONG&gt;. I had this error message&amp;nbsp;while&amp;nbsp;setting the configuration data&amp;nbsp;for the Queue Definition,&amp;nbsp;when trying to open the Queue Manager Combo. Obviously is a permissions problem, you have to add your account to the role created in the MQSAgent COM+ Application on the MQSeries Server. If you forget to add also the BizTalk account the error is much more descriptive: &lt;/SPAN&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 8.5pt; FONT-FAMILY: 'MS Shell Dlg'; mso-ansi-language: EN-GB"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;"&lt;/o:p&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 8.5pt; FONT-FAMILY: 'MS Shell Dlg'; mso-ansi-language: EN-GB"&gt;The adapter has encountered an 'Access Denied' error while attempting to contact the COM+ object on the MQSeries server. Ensure the BizTalk account is added to the Role on the MQSAgent COM+ application."&lt;BR&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 8.5pt; FONT-FAMILY: 'MS Shell Dlg'; mso-ansi-language: EN-GB"&gt;UPDATE: Lately I have found an &lt;STRONG&gt;error code 2018, &lt;/STRONG&gt;which is caused because the Identity of the MQSAgent COM+ Application isn't in the 'mqm' windows group.&lt;BR&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 8.5pt; FONT-FAMILY: 'MS Shell Dlg'; mso-ansi-language: EN-GB"&gt;Once everything developed and deployed I had a "Error encountered on opening Queue Manager name = QMSVMLT0 &lt;STRONG&gt;Reason code = 2195&lt;/STRONG&gt;.". The origin for that is the MSDTC. Common configuration since the SP2, you need to enable the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 8.5pt; FONT-FAMILY: 'MS Shell Dlg'; mso-ansi-language: EN-GB"&gt;Network DTC Access,&amp;nbsp;Allow Outbound&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; and&amp;nbsp;&lt;/SPAN&gt;Allow Network Clients &amp;amp; Outbound for the client and the server respectively.&lt;/SPAN&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 8.5pt; FONT-FAMILY: 'MS Shell Dlg'; mso-ansi-language: EN-GB"&gt;&lt;BR&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 8.5pt; FONT-FAMILY: 'MS Shell Dlg'; mso-ansi-language: EN-GB"&gt;&lt;STRONG&gt;CorrelId&lt;/STRONG&gt;. I was trying a request-reply scenario, but generating the Correlation Id in BizTalk instead of MQ. The SDK sample uses a constant which is not a commonly valid scenario, I would prefer something like the InterchangeID. The key was that MQ needs&amp;nbsp;a 48 characters Id, and some characters like '-' are deleted. This code with a correlation set on the MQSeries.MQMD_CorrelId worked:&lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-GB"&gt;MyGuid = new System.Guid(RequestMessage(BTS.InterchangeID));&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-GB"&gt;CorrelationValue = MyGuid.ToString("N") + "0000000000000000"; // 32 + 16 = 48 characters&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-GB"&gt;MQRequestMessage(MQSeries.MQMD_MsgId) = CorrelationValue;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-GB"&gt;MQRequestMessage (MQSeries.MQMD_CorrelId) = CorrelationValue;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=485356" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/joselcs/archive/tags/Biztalk/default.aspx">Biztalk</category><category domain="http://blogs.msdn.com/joselcs/archive/tags/MQSeries/default.aspx">MQSeries</category></item></channel></rss>