Jul 12
14
Hello!
Over the last months I’ve done a lot of installations of the MQSC adapter for IBM WebSphere MQ. The reason for me writing this blogpost is the fact that many have some issues when Installing the adapter, in many cases there may be numerous reasons why it’s not working completely.
installation guide
So in order to install the adapter you new to install the client tool from HIS (Microsoft BizTalk Adapters for Host Systems, it should be on the BizTalk installation disk) you will also need the to install the WebSphere client. Many mistakes here is the fact that they install too much and end up with too much or too little. So I’ll go through the steps of installation of it. Be aware that for any BizTalk version prior to BizTalk 2009 you can only run this adapter as a 32bit. You need the following KB939202 to force it to run as a 32bit on a 64bit environment. Note that you should always start with installing the Adapter before you install the WebSphere MQ client on the BizTalk Server.
installing the adapter for MQSC from HIS installation wizard
On the component installation screen, expand BizTalk Adapters then select BizTalk Adapter for WebSphere MQ (Client-Based). This is all that is needed. However you should always do this step first before you install the WebSphere MQ Client. The installation will only take a few minutes
installing the WebSphere Client
You need to download the WebSphere MQ Client version 7.x when the installation script appears you should choose the custom installation and only choose the option for Client tool, you do not need anything else and it may give you some problems if you install too much. Either way best practice is and always will be to have less unnecessary programs on your BizTalk servers.
Note that this steps needs to be set up on all the server running BizTalk and this adapter.
Registry settings missing or incorrect
During the installation you may have had some issues with the registry settings during installation, before you run the following script you might want to restart your machine since this may resolve the issues, however if that is not working you should also restart the computer after the registry settings have been set. Below you will find some registry settings and changes (you can generate it as a reg-file) this will add all the values that might have disappeared during installation.
=============
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{CF8B4D15-5D2B-4c62-90DB-16804D2454B9}]
@=”MQSC Adapter Class”
“AppID”=”{401D2C40-DAA9-4a63-8D42-9BF98B04F616}”
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{CF8B4D15-5D2B-4c62-90DB-16804D2454B9}\BizTalk]
@=”BizTalk”
“TransportType”=”MQSC”
“Constraints”=dword:00003d0b
“ReceiveLocation_PageProv”=”{2DE93EE6-CB01-4007-93E9-C3D71689A280}”
“TransmitLocation_PageProv”=”{2DE93EE6-CB01-4007-93E9-C3D71689A282}”
“OutboundProtocol_PageProv”=”{2DE93EE6-CB01-4007-93E9-C3D71689A283}”
“OutboundEngineCLSID”=”{6811E17F-A4C2-44BB-B4D5-D69962E58E87}”
“InboundEngineCLSID”=”{538F8B3D-EE7B-4459-A123-45CD5C3B671B}”
“InboundTypeName”=”Microsoft.BizTalk.Adapter.Mqsc.MqscReceiver, Microsoft.BizTalk.Adapter.MQSC, Version=7.0.2300.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35, Custom=null”
“InboundAssemblyPath”=”"
“OutboundTypeName”=”Microsoft.BizTalk.Adapter.Mqsc.MqscTransmitter, Microsoft.BizTalk.Adapter.MQSC, Version=7.0.2300.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35, Custom=null”
“OutboundAssemblyPath”=”"
“PropertyNameSpace”=”http://schemas.microsoft.com/BizTalk/2003/mqs-properties”
“ProtocolAlias”=”mqsc://”
“ReceiveHandlerPropertiesXML”=”<AdapterConfig vt=\”8\”/>”
“SendHandlerPropertiesXML”=”<AdapterConfig vt=\”8\”/>”
“ReceiveLocationPropertiesXML”=”<AdapterConfig vt=\”8\”/>”
“SendLocationPropertiesXML”=”<AdapterConfig vt=\”8\”/>”
“AliasesXML”=”<AdapterAliasList><AdapterAlias>mqsc://</AdapterAlias></AdapterAliasList>”
“AdapterMgmtTypeName”=”Microsoft.BizTalk.Adapter.Mqsc.MqscAdapterManagement”
“AdapterMgmtAssemblyPath”=”C:\\Program Files (x86)\\Microsoft BizTalk Adapters for Host Systems 2.0\\system\\Microsoft.BizTalk.Adapter.MQSCAdmin.dll”
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{CF8B4D15-5D2B-4c62-90DB-16804D2454B9}\Implemented Categories]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{CF8B4D15-5D2B-4c62-90DB-16804D2454B9}\Implemented Categories\{80D39129-B68D-4f85-98EF-
151A4E1627F7}]
@=”"
Credits for this to Microsoft
Unable to find the adapter under adapters in the administration console
Some people have this issue, it should have been installed by default and visible but sometimes you have to add it yourself, this is done by right clicking the adapter folder and choose the option to add a new adapter the MQSC should be found in the drop down list.
Note that it might also be wise to restart the server to refresh everything, this have been seen to give an effect to clients.
Hotfixes for some BizTalk versions:
KB941494 When you use BizTalk Adapter for MQSeries in BizTalk Server 2006 or in BizTalk Server 2004, the BizTalk application may slow down, and the BizTalk application may eventually stop responding
KB938986 BizTalk Server 2004 or BizTalk Server 2006 does not immediately handle some messages when you use BizTalk Adapter for MQSeries 2.0 to receive messages from an IBM MQSeries server


Hi Tord.
Thanks a lot for the guideline. It saved me a lot of trouble, since I’ve been having problems with this installation in the past. But today I just followed your guide.
Maybe you should mention that everything under “server” is checked in the HIS installation – and there seems to be no way of unchecking not needed items.
/Bo.
All shouldn’t be checked out.. =) Maybe they allready were installed on your machine? However that should not conflict with the adapter itself, glad this guide helped you out!