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: "Invalid 'id' attribute value: Duplicate ID attribute" error message when you use the XMLReceive pipeline or the XMLTransmit pipeline to receive or to send messages in BizTalk Server 2006 R2 or in BizTalk Server 2009


View products that this article applies to.

Symptoms

On a server that is running Microsoft BizTalk Server 2006 R2 or Microsoft BizTalk Server 2009, you receive an "Invalid 'id' attribute value: Duplicate ID attribute" error message in the following scenarios.

Scenario 1

Consider the following scenario:
  • You create a receive location.
  • You use the XMLReceive pipeline in the receive location. Or, you use a custom receive pipeline that contains the XML Disassembler pipeline component in the receive location.
  • On the receive pipeline, you set the ValidateDocument property to True.
  • A message arrives at the receive location.
In this scenario, the message is suspended. Additionally, an error message that resembles the following is logged in the Application log:
Event Type: Error
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID: 5753
Description:
A message received by adapter "adapter_name" on receive location "receive_location" with URI "URI" is suspended.
Error details: There was a failure executing the receive pipeline: "Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "XML disassembler" Receive Port: "Receive_Port" URI: "URI"
Reason: Invalid 'id' attribute value: Duplicate ID attribute.
Scenario 2

Consider the following scenario:
  • You create a send port.
  • You use the XMLTransmit pipeline in the send port. Or, you use a custom send pipeline that contains an XML Assembler pipeline component in the send port.
  • An outgoing message arrives on the send port.
In this scenario, the message is suspended. Additionally, an error message that resembles the following is logged in the Application log:
Event Type: Error
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID: 5720
Description:
There was a failure executing the send pipeline: "Microsoft.BizTalk.DefaultPipelines.XMLTransmit, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "XML assembler" Send Port: "send_port" URI: "URI"
Reason: Invalid 'id' attribute value: Duplicate ID attribute.

Note: If you use BizTalk Server 2009, the Event Source and Event Category in above events are �BizTalk Server 2009�.

↑ Back to the top


Cause

This problem occurs because of an issue in the XMLSchema.Compile method. This method is called in the XML Disassembler pipeline component and in the XML Assembler pipeline component.

↑ Back to the top


Resolution

Cumulative update information

BizTalk Server 2009The hotfix that resolves this issue is included in cumulative update package 2 for BizTalk Server 2009.

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:
2497794� Cumulative update package 2 for BizTalk Server 2009
Known Issue: After you apply Cumulative update package 2 for BizTalk Server 2009, you may still receive �Invalid 'id' attribute value: Duplicate ID attribute.� error when you configure the �Document schemas� property for the �Xml disassembler� component. In this case, use the workaround that is stated in Known Issue section of Cumulative update package 2 for BizTalk Server 2009.

BizTalk Server 2006 R2 SP1

The hotfix that resolves this problem is included in cumulative update package 1 for BizTalk Server 2006 R2 Service Pack 1.

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:
982061� Cumulative update package 1 for BizTalk Server 2006 R2 Service Pack 1

↑ 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 default pipelines, visit the following Microsoft Developer Network (MSDN) Web site: 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

↑ Back to the top


Keywords: kbbiztalk2006r2presp2fix, kbbtspipeline, kbtshoot, kbfix, kberrmsg, kbbug, kbexpertiseinter, kbsurveynew, kbprb, kbbiztalk2009presp1fix, kbbiztalk2006r2sp1fix, KB979709

↑ Back to the top

Article Info
Article ID : 979709
Revision : 4
Created on : 3/19/2011
Published on : 3/19/2011
Exists online : False
Views : 512