Article ID: 925502 - Last Review: January 8, 2008 - Revision: 2.2 FIX: A long-running orchestration may be suspended when a schema-version mismatch is detected in BizTalk Server 2004
On This PageSYMPTOMSIn Microsoft BizTalk Server
2004, you use a correlated receive mode in a long-running orchestration. If you
periodically change the schema definition, the
orchestration may be suspended. Additionally, the following error is sometimes logged in the Application log: Event Source XLANG/S Event ID 10033 Event Type Error Description: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'Orchestrations.RetestOrchestration(ff7eb9a1-8269-98a7-9fbb-a534d9f7bbfd)'. 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: 073b1a52-cb9a-48fe-a5b3-e65c6edec00a Shape name: Cannot get friendly name ShapeId: eb70ee3d-798f-4cd7-8f63-e412c9cc1761 Exception thrown from: segment 1, progress 66 Inner exception: Received unexpected message type 'Schemas.Response, Schemas, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0388ea5fb11d1bc1' does not match expected type 'Schemas.Response, Schemas, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0388ea5fb11d1bc1'. Exception type: UnexpectedMessageTypeException Source: Microsoft.XLANGs.Engine Target Site: Void _verifyPublisherSchema() Help Link: The following is a stack trace that identifies the location where the exception occured at Microsoft.XLANGs.Core.XMessage._verifyPublisherSchema() at Microsoft.XLANGs.Core.XMessage.FetchProperties() at Microsoft.XLANGs.Core.XMessage.GetContentProperty(Type propType) at Microsoft.XLANGs.Core.XMessage.GetPropertyValue(Type propType) at Microsoft.BizTalk.XLANGs.BTXEngine.BTXMessage.GetPropertyValue(Type propType) at Microsoft.BizTalk.XLANGs.BTXEngine.BTXMessage.GetPropertyValueThrows(Type propType) at Orchestrations.RetestOrchestration.segment1(StopConditions stopOn) at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
RESOLUTIONHotfix informationA 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 this specific problem. 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.You cannot roll back this hotfix from the BizTalk Server environment. Therefore, before you apply this hotfix to a production environment, make sure that you fully test this hotfix in a test environment. Do not try to use the Add or Remove Programs item in Control Panel to remove this hotfix. If you do take this action, the database changes are not rolled back, and the BizTalk Server environment is left in an inconsistent state. For more information, refer to the Readme.txt file that is included in the hotfix package. PrerequisitesYou must have BizTalk Server 2004 Service Pack 2 installed to apply this hotfix.Restart requirementYou do not have to restart the BizTalk Server services after you apply this hotfix.Hotfix replacement informationThis hotfix does not replace any other hotfixes.File informationThe 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.Collapse this table
MORE INFORMATIONAfter you install this hotfix, the error is logged in the
Application log every time that a schema-version mismatch is detected. In other
words, this hotfix will make sure that the orchestration instance is suspended
and that an error is logged every time that a schema-version mismatch is
detected. However, if you do not want the error to be logged, you can change
the Btsntsvc.exe.config file so that the UnexpectedMessageTypeException exception is skipped. In some long-running orchestrations that use a correlating receive mode, schema updates cannot be made. In this scenario, you can override the orchestration suspension when schema-version mismatches are detected. We recommend that you complete all active instances or publish a new application. However, if the application has already been published, you can change the Btsntsvc.exe.config file so that the UnexpectedMessageTypeException exception is skipped. To support these configuration changes, you must have the hotfix installed. If you select to override the Btsntsvc.exe.config file on an instance of BizTalk Server, no schema changes must be made to the published schema. If changes are made, unpredictable results can occur. To change the Btsntsvc.exe.config file so that the unexpectedmessagetype exception is skipped, add the following sections to the configuration element: STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section. APPLIES TO
| Article Translations
|

Back to the top
