BizTalk orchestration instance may crash when you restart BizTalk host instances while ordered message instances are active

Article translations Article translations
Article ID: 2458218 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

Consider the following scenario:
  • You create a BizTalk application in Microsoft BizTalk 2006 R2, in Microsoft BizTalk 2009, or in Microsoft BizTalk 2010. The application uses BizTalk orchestrations to implement ordered message delivery.
  • You use the BizTalk Administration console to restart the BizTalk host instances that host the BizTalk application while the ordered message delivery instances are active.
In this scenario, the orchestration instance that publishes the ordered message delivery instances may crash. Additionally, you receive an error message that resembles the following:

Uncaught exception (see the 'inner exception' below) has suspended an instance of service '<service name and GUID>'.
The service instance will remain suspended until administratively resumed or terminated.
If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
InstanceId: service instance
Shape name: shape name
ShapeId: shape ID
Exception thrown from: segment 2, progress 4
Inner exception: The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))

Exception type: COMException
Source: Microsoft.XLANGs.BizTalk.Engine
Target Site: Void Commit()
The following is a stack trace that identifies the location where the exception occured at Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.Commit()
at Microsoft.XLANGs.Core.Service.Persist(Boolean dehydrate, Context ctx, Boolean idleRequired, Boolean finalPersist, Boolean bypassCommit
Note In this error message, the word "occured" is a misspelling for the word "occurred."

CAUSE

This issue occurs because of a race condition when the XLANG engine shuts down orchestration instances and when the XLANG engine processes message instances.

RESOLUTION

BizTalk Server 2006 R2

Cumulative update information

The hotfix that resolves this issue is included in cumulative update package 4 for BizTalk Server 2006 R2 SP1.

For more information about how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:

2682056Cumulative update package 4 for BizTalk Server 2006 R2 SP1

BizTalk Server 2009

The fix for BizTalk Server 2009 is currently not available.

BizTalk Server 2010

Cumulative update information

The fix for this issue was first released in Cumulative update package 1 for BizTalk Server 2010. For more information about how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
2497789 Cumulative update package 1 for BizTalk Server 2010

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 ordered message delivery, visit the following MSDN website:
General information about ordered message delivery
For more information about BizTalk Server hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:
2003907 Information about BizTalk Server hotfixes

Properties

Article ID: 2458218 - Last Review: April 12, 2012 - Revision: 3.0
APPLIES TO
  • Microsoft BizTalk Server Branch 2010
  • Microsoft BizTalk Server Developer 2010
  • Microsoft BizTalk Server Enterprise 2010
  • Microsoft BizTalk Server Standard 2010
  • Microsoft BizTalk Server 2009 Branch
  • Microsoft BizTalk Server 2009 Developer
  • Microsoft BizTalk Server 2009 Enterprise
  • Microsoft BizTalk Server 2009 Standard
  • Microsoft BizTalk Server 2006 R2 Service Pack 1, when used with:
    • Microsoft BizTalk Server 2006 R2 Branch Edition
    • Microsoft BizTalk Server 2006 R2 Developer Edition
    • Microsoft BizTalk Server 2006 R2 Enterprise Edition
    • Microsoft BizTalk Server 2006 R2 Standard Edition
Keywords: 
kbqfe kbexpertiseadvanced kbsurveynew kbfix KB2458218

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com