BUG: BizTalk Adapter for MQSeries Stops Receiving Messages (811244)



The information in this article applies to:

  • Microsoft BizTalk Adapter for MQSeries 1.0

Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

BizTalk Adapter for MQSeries may stop receiving messages from an MQSeries remote definition queue. When this behavior occurs, no errors are logged in the event log. If you restart the BizTalk Adapter for MQSeries service, BizTalk Adapter for MQSeries receives messages again.

RESOLUTION

The following steps assume that you have all components of BizTalk Adapter for MQSeries installed on the same computer. If you install the Remote MQSeries Helper Component (MQHelper) on a different computer, you must follow the steps for the MQHelper component on that computer.WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
  1. Stop the BizTalk Adapter for MQSeries service.
  2. Open the Component Services Microsoft Management Console (MMC), and then delete the three components of the BizTalk Adapter for MQSeries package.
  3. At a command prompt, locate the Program files\BizTalk Adapter for MQSeries folder, and the do the following:
    1. At the command prompt, type the following command, and then press ENTER to register the Mtbworker.dll component:

      regsvr32 mtbworker.dll

    2. At the command prompt, type the following command, and then press ENTER to register the Mqhelper.dll component:

      regsrv32 mqhelper.dll

  4. At the command prompt, type the following command, and then press ENTER to start Registry Editor:

    regedt32.exe

  5. In Registry Editor, do the following:
    1. Locate the following registry key, and then change the value of ThreadingModel to Both:

      HKEY_CLASSES_ROOT\CLSID\{10D8B90D-F6A8-4ECB-A3C1-852A41945B0E}\InprocServer32

      This is the GUI of the MTBWorker component.
    2. Locate the following registry key, and then change the value of ThreadingModel to Both:

      HKEY_CLASSES_ROOT\CLSID {FF1753A4-419C-4168-91AB-FFFF5F064CB5}\InprocServer32

      This is the GUI of the MQHelper component.
  6. Open the Component Services MMC, right-click the Components folder of the BizTalk Adapter for MQSeries package, and then click New.
  7. On the Welcome to the COM Component Install Wizard page, click Next.
  8. Click Import components that are already registered.
  9. On the Choose Components to Import page, select MTBWork.Config, MTBWorker.Work, and MQHelper.RemoteQM.
  10. Click Next, and then click Finish.
  11. In the Component Services MMC, do the following:
    1. Open Properties for MQHelper.RemoteMQ.1, and then set Transactions to Required.
    2. Open Properties for MTBWorker.Work.1, and then set Transactions to Required New.
  12. Start the BizTalk Adapter for MQSeries service.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Modification Type:MajorLast Reviewed:9/24/2003
Keywords:kbprb KB811244 kbAudDeveloper