Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Solution Import Error Microsoft.Crm.Tools.ImportExportPublish.ImportSiteMapException: Site Map import: FAILURE: There are multiple root elements. Line 1, position 58. ---> System.Xml.XmlException: There are multiple root elements. Line 1, position 58.

Posted on by

Problem:

A recent update has prevented the import of the default sitemap within certain solutions. When you export a managed solution with the default sitemap, four new properties have been added to the App Module Sitemap nodes in the customizations.xml. These 4 extra XML nodes/properties, currently, do not import, and cause a solution import error (there are multiple root elements).

Fix:

In the <AppModuleSitemap> tag, remove the following properties from the exported solution in the customizations.xml file.

    <EnableCollapsibleGroups>False</EnableCollapsibleGroups>
    <ShowHome>True</ShowHome>
    <ShowPinned>True</ShowPinned>
    <ShowRecents>True</ShowRecents>

In the next few days, a fix will be released that will prevent the four properties from being exported in the App Module Sitemap tag, and following that, a fix will be released that will allow these four properties to be exported and imported as intended.

  • Ryan Wedoff Profile Picture
    Ryan Wedoff on at
    RE: Solution Import Error Microsoft.Crm.Tools.ImportExportPublish.ImportSiteMapException: Site Map import: FAILURE: There are multiple root elements. Line 1, position 58. ---> System.Xml.XmlException: There are multiple root elements. Line 1, position 5

    Update! The issue has been stopped for all regions, you can now re-export and import again. On Aug. 13th, by the latest, all will be able import their solutions (even the solutions with the four properties) again.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Solution Import Error Site Map import: FAILURE: There are multiple root elements

    Thank you for sharing!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans