Microsoft Knowledge Base Email Alertz

FIX: A warning is logged when you use the MQSeries adapter in a dynamic receive scenario in Microsoft BizTalk Server: The remote procedure call failed and did not execute. (Exception from HRESULT: 0x800706BF)

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 951673 - Last Review: October 8, 2011 - Revision: 3.0

FIX: A warning is logged when you use the MQSeries adapter in a dynamic receive scenario in Microsoft BizTalk Server: "The remote procedure call failed and did not execute. (Exception from HRESULT: 0x800706BF)"

Hotfix download is availableHotfix Download Available
View and request hotfix downloads

On This Page

SYMPTOMS

In Microsoft BizTalk Server 2006 or in Microsoft BizTalk Server 2006 R2, you use the MQSeries adapter to receive and process messages. You configure the receive ports so that they can dynamically receive messages. Occasionally, a warning that resembles the following is logged in the Application log:

Event Type: Warning
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID: 5743
Description: The adapter failed to transmit message going to send port "<Send Port Name>" with URL "<URI>". It will be retransmitted after the retry interval specified for this Send Port.
Details:"Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.BizTalk.Adapter.MQS.Agent.MQSBroker'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{<ID>}' failed due to the following error: The remote procedure call failed and did not execute. (Exception from HRESULT: 0x800706BF)."

When this problem occurs, the message instances change to the Dehydrated state. To complete the processing of these messages, the BizTalk default host instance must be restarted.

Note A dynamic receive configuration enables the application to select a source address (URI) at run time. The application can do this by setting the MQSeries.DynamicReceive context property to Yes, and then specifying the dynamic receive address. For more information, refer to the "More Information" section.

CAUSE

This problem occurs because the dynamic receive port in the MQSeries adapter does not handle failures correctly. When failures occur, the adapter logs a warning in the Application log. However, the adapter does not then perform the steps that are required to process the failed messages. These steps that are required are as follows:
  • Resubmit the messages.
  • When all transport operation retries are exhausted, move the messages to a backup transport.
  • Suspend the messages.

RESOLUTION

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

You must have BizTalk Server 2006 or BizTalk Server 2006 R2 SP1 installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply this hotfix. However, you must restart the BizTalk host instance service after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
32-bit versions of BizTalk Server 2006
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Microsoft.biztalk.adapter.mqs.dll3.5.1763.0107,56829-May-200821:16x86
Microsoft.biztalk.adapter.mqsadmin.dll3.5.1763.095,28829-May-200821:16x86
Mqsagent.dll3.5.1763.0183,29629-May-200821:17x86
64-bit versions of BizTalk Server 2006
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Microsoft.biztalk.adapter.mqs.dll3.5.1763.0107,56829-May-200821:16x86
Microsoft.biztalk.adapter.mqsadmin.dll3.5.1763.095,28829-May-200821:16x86
Mqsagent.dll3.5.1763.0183,29629-May-200821:17x86
Mqsagent.dll3.5.1763.098,81629-May-200821:18x64
32-bit versions of BizTalk Server 2006 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Microsoft.biztalk.adapter.mqs.dll3.6.2232.12104,32024-Feb-201118:05x86
64-bit versions of BizTalk Server 2006 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Microsoft.biztalk.adapter.mqs.dll3.6.2232.12104,32024-Feb-201118:11x86

WORKAROUND

To work around this problem, restart the BizTalk default host instances.

STATUS

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

MORE INFORMATION

For more information about the MQSeries adapter, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn.microsoft.com/en-us/library/aa562123(BTS.20).aspx (http://msdn.microsoft.com/en-us/library/aa562123(BTS.20).aspx)
For more information about how to configure the MQSeries adapter in a dynamic receive scenario, visit the following MSDN Web sites:
http://msdn.microsoft.com/en-us/library/bb743349(BTS.20).aspx (http://msdn.microsoft.com/en-us/library/bb743349(BTS.20).aspx)
http://msdn.microsoft.com/en-us/library/aa577974(BTS.20).aspx (http://msdn.microsoft.com/en-us/library/aa577974(BTS.20).aspx)
For more information about BizTalk Server hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:
2003907  (http://kbalertz.com/Feedback.aspx?kbNumber=2003907/ ) Information on BizTalk Server hot fixes

APPLIES TO
  • Microsoft BizTalk Server 2006 Developer Edition
  • Microsoft BizTalk Server 2006 Enterprise Edition
  • Microsoft BizTalk Server 2006 Standard Edition
  • Microsoft BizTalk Server 2006 R2 Developer Edition
  • Microsoft BizTalk Server 2006 R2 Enterprise Edition
  • Microsoft BizTalk Server 2006 R2 Service Pack 1
  • Microsoft BizTalk Server 2006 R2 Standard Edition
Keywords: 
kbautohotfix kbbtsadapters kbbiztalk2006r2presp1fix kbexpertiseadvanced kbsurveynew kbqfe KB951673
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate