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.

BUG: You receive a "Cannot Resolve Schema Location Attribute" error message when you Import or Include schemas across different projects in BizTalk Server 2004


View products that this article applies to.

Symptoms

In Microsoft BizTalk Server 2004, when you Import or Include schemas from different projects, you receive an error message that is similar to the following:
Cannot Resolve Schema Location Attribute. An error occurred at (3,4)

↑ Back to the top


Cause

This behavior may occur if the Imports or the Includes of the schema are across different assemblies and there are redundant Imports or Includes in the relationship. For example, with schemas A.xsd, B.xsd, and C.xsd, the following conditions are true:
  • Schema B.xsd imports A.xsd.
  • Schema C.xsd imports both A.xsd and B.xsd.
If these conditions are true, A.xsd is reachable through two paths. One path is through direct import of A.xsd. The other path is through the direct import of B.xsd.

Whenever this redundancy occurs and these schemas are spread over different assemblies, you receive the error message.

↑ Back to the top


Workaround

To work around this behavior, either break the cycle or redundancy in the schema relationships, or make sure that all the schemas are in the same project. This will cause all the schema locations to be referenced by file paths instead of assembly locations.

↑ Back to the top


Status

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

↑ Back to the top


More information

For more information, visit the following Microsoft Developer Network MSDN) Web site:

↑ Back to the top


Keywords: KB884624, kbbug, kbtshoot

↑ Back to the top

Article Info
Article ID : 884624
Revision : 5
Created on : 11/16/2007
Published on : 11/16/2007
Exists online : False
Views : 349