You are currently offline, waiting for your internet to reconnect

FIX: "There are multiple root elements" error when you try to export the bindings of the receive location in BizTalk Server Administration Console


SYMPTOMS
Consider the following scenario:
  • You have a computer that is running Microsoft BizTalk Server 2009 or BizTalk Server 2010.
  • You add the following configuration data for support of Windows Communication Foundation (WCF) to the <serviceBehaviors> element of the Machine.config file:
    <behavior name="WindowsAuthenticationBehavior"><serviceMetadata httpGetEnabled="true"/><serviceDebug includeExceptionDetailInFaults="false"/><serviceCredentials><windowsAuthentication includeWindowsGroups="true" allowAnonymousLogons="false"/></serviceCredentials><serviceAuthorization principalPermissionMode="UseWindowsGroups"/></behavior>
    Note The Machine.config file is stored in the following folder:
    %Systemdrive%\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\
  • You create a WCF-based receive location in a BizTalk application.
  • You try to export the bindings of the receive location in BizTalk Server 2009 or BizTalk Server 2010 Administration Console.
In this scenario, the export fails, and you receive an error message that resembles the following:
There are multiple root elements. Line 1, position 49. (System.Xml)
After you receive this error message if you remove the configuration data in the <serviceBehaviors> element, the export still fails in additional export operations.
CAUSE
This issue occurs because of an error in the WCF-based adapter.
RESOLUTION

Cumulative update information


BizTalk Server 2010

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: 
2497789 Cumulative update package 1 for BizTalk 2010


BizTalk Server 2009

The 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
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 BizTalk Server hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:

2003907 Information about BizTalk Server hotfixes

kbbiztalk2010presp1fix 
Properties

Article ID: 2510752 - Last Review: 05/23/2011 02:27:00 - Revision: 2.0

Microsoft BizTalk Server 2009 Branch, Microsoft BizTalk Server 2009 Developer, Microsoft BizTalk Server 2009 Enterprise, Microsoft BizTalk Server 2009 Standard, Microsoft BizTalk Server Branch 2010, Microsoft BizTalk Server Developer 2010, Microsoft BizTalk Server Enterprise 2010, Microsoft BizTalk Server Standard 2010

  • kbqfe kbfix kbexpertiseadvanced kbsurveynew kbbiztalk2009presp1fix KB2510752
Feedback
> var varAutoFirePV = 1; var varClickTracking = 1; var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write("