BUG: The BizTalk service may stop responding and you may receive an Event ID 25 error message when messages are processed in BizTalk Server 2004


The BizTalk service may stop responding when messages are processed in Microsoft BizTalk Server 2004. This issue occurs when there are multiple receive locations configured to use Microsoft Message Queuing. You may receive an error message in Event Viewer that is similar to the following:


This issue occurs when not enough BizTalk Server 2004 worker threads exist.


To work around this issue, follow these steps:
  1. Download and then install BizTalk Server 2004 Service Pack 1 (SP1).
  2. Click Start, click Run, type Regedit, and then click OK.
  3. Locate and then click the following registry subkey:
  4. Right-click the registry key that you located in step 3, point to New, and then click Key.
  5. Type CLR Hosting, and then press ENTER.
  6. Right-click CLR Hosting, point to New, and then click DWORD Value.
  7. Type MaxWorkerThreads, and then press ENTER.
  8. Right-click MaxWorkerThreads, and then click Modify.
  9. In the Value data box, type a value for an appropriate number of BizTalk Server 2004 worker threads, and then click OK.

    Note The value that you type depends on the number of configured receive locations and the number of messages that are being processed.
  10. Close Registry Editor, and then restart the computer.


Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

More Information

For more information about BizTalk Server 2004 SP1, visit the following Microsoft Web site: