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.
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
@=”MQSC Adapter Class”
“InboundTypeName”=”Microsoft.BizTalk.Adapter.Mqsc.MqscReceiver, Microsoft.BizTalk.Adapter.MQSC, Version=7.0.2300.0, Culture=neutral,
“OutboundTypeName”=”Microsoft.BizTalk.Adapter.Mqsc.MqscTransmitter, Microsoft.BizTalk.Adapter.MQSC, Version=7.0.2300.0, Culture=neutral,
“AdapterMgmtAssemblyPath”=”C:\\Program Files (x86)\\Microsoft BizTalk Adapters for Host Systems 2.0\\system\\Microsoft.BizTalk.Adapter.MQSCAdmin.dll”
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:
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