Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


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

↑ Back to the top


Status

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

↑ Back to the top


More information

For more information about how to validate a BizTalk map, visit the following Microsoft Developer Network (MSDN) website:For more information about how to create schemas that use other schemas, visit the following MSDN website:

↑ Back to the top


Keywords: kbautohotfix, kbqfe, kbfix, kbsurveynew, kbexpertiseadvanced, kbbiztalk2006r2presp2fix, kbbtsmapper, kbhotfixserver, kbbiztalk2009presp1fix, KB2148970

↑ Back to the top

Article Info
Article ID : 2148970
Revision : 5
Created on : 3/18/2011
Published on : 3/18/2011
Exists online : False
Views : 478