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