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

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

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”.

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.

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

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

Properties

Article ID: 979709 - Last Review: October 9, 2011 - Revision: 6.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: 
kbbiztalk2006r2sp1fix kbbiztalk2006r2presp2fix kbbtspipeline kbtshoot kbfix kberrmsg kbbug kbexpertiseinter kbsurveynew kbprb kbbiztalk2009presp1fix KB979709

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