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: "There are multiple root elements" error when you try to export the bindings of the receive location in BizTalk Server Administration Console


View products that this article applies to.

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.

↑ Back to the top


Cause

This issue occurs because of an error in the WCF-based adapter.

↑ Back to the top


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

↑ 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 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: kbqfe, kbfix, kbexpertiseadvanced, kbsurveynew, kbhotfixdev, kbbiztalk2009presp1fix, kb

↑ Back to the top

Article Info
Article ID : 2510752
Revision : 2
Created on : 9/10/2018
Published on : 9/11/2018
Exists online : False
Views : 261