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:

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.

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.

Also, the MQSeries Manager needs to be updated to the Windows 2003 Server SP1 and some other new requirements.

After that I still had the message:

Retrieving the COM class factory for remote component with CLSID {86E96D72-0011-4B28-B1AC-BF52AB47F1B4} from machine failed due to the following error: 80070005.

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. DTCPing wasn’t running, so I did the calls anonymous and some registry changes on the client, DTCPing run perfectly but I still had the 80070005 error.

Finally I noticed a new local group 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!!

If interested on running different BizTalk versions against the same MQSeries manager, the new MQSeries Agent runs side by side with 2006, 2004 and 2002 BizTalk releases. Also interesting, this new release has a wizard for configuring the COM+ Application –which avoids some common errors-, named MQSAgent2.