FIX: Error message when you validate a BizTalk map in BizTalk Server 2006 R2 or in BizTalk Server 2009 if the map and its schemas are in a separate project

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

On This Page

SYMPTOMS

Consider the following scenario:
  •  You open a BizTalk project in Microsoft Visual Studio 2005 on a computer that is running Microsoft BizTalk Server 2006 R2 or in BizTalk Server 2009.
  • The BizTalk project contains a BizTalk map. The source schema and the destination schema of the map are referenced from a separate project in the same solution.
  • You try to validate the map or try to build the BizTalk project.
In this scenario, you may receive an error message that resembles the following:
Exception Caught: The map contains a reference to a schema node that is not valid. Perhaps the schema has changed. Try reloading the map in the BizTalk Mapper. The XSD XPath of the node is: ...
Notes
  • If you put the schemas in the same project as the BizTalk map, this issue does not occur.
  • The issue occurs when you define various simple and complex types in the schema. Additionally, you also import or include other schemas in the schema.

CAUSE

This problem occurs because BizTalk Mapper does not populate schema types correctly if you have various simple and complex types are defined that are imported or included from the other schemas in the current schema.

RESOLUTION

Cumulative update information

Cumulative update informationThe hotfix that resolves this issue is included in cumulative update package 2 for BizTalk Server 2009.
For more informationabout how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
2497794 Cumulative update package 2 for BizTalk Server 2009

The hotfix that resolves this problem is included in cumulative update package 2 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:
2211420 Cumulative update package 2 for BizTalk Server 2006 R2 Service Pack 1
For more information about BizTalk Server 2006 R2 SP1 hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:
974563 List of Microsoft BizTalk Server hot fixes that are included in BizTalk Server 2006 R2 Service Pack 1
For more information about BizTalk Server hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:
2003907 Information on BizTalk Server hotfixes

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 how to validate a BizTalk map, visit the following Microsoft Developer Network (MSDN) website:
How to validate a BizTalk map
For more information about how to create schemas that use other schemas, visit the following MSDN website:
How to create schemas that use other schemas

Properties

Article ID: 2148970 - Last Review: March 18, 2011 - Revision: 5.0
APPLIES TO
  • 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
  • Microsoft BizTalk Server 2009 Branch
  • Microsoft BizTalk Server 2009 Developer
  • Microsoft BizTalk Server 2009 Enterprise
  • Microsoft BizTalk Server 2009 Standard
Keywords: 
kbautohotfix kbqfe kbfix kbsurveynew kbexpertiseadvanced kbbiztalk2006r2presp2fix kbbtsmapper kbhotfixserver kbbiztalk2009presp1fix KB2148970

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