Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Solution Packager - Issue with SiteMap when Packaging

Posted on by 1,065

Hi all,

Currently, I've started learning about Solution packager due to some requirements in our project. In order to practice, I've created a CRM 2016 Online trial and downloaded the default solution. At the first time I tried to Extract the Default Solution, I got an error regarding kbarticletemplates, after some investigation I was able to resolve it by deleting some Article templates that were corrupted in CRM for some reason. However, when I try to Package it I got an error I'm still not able to fix. Basically, the error is regarding a missing component/dependency, please find below the error:

44444.png

Based on the error text, I can see that "SiteMap" is missing. The thing is that it cannot be because I've downloaded the default solution and as we all know, every single component in CRM is contained here. Also, before this error I can see the next warning:

Warning Following root components are not defined in customizations

 

This error is followed by hundreds of lines regarding some for specific components like: Templates, MailMergeTempalte, Dashboards, webresources, PluginAssembly and SdkMessageProcessingStep.

Examples:

Type='WebResource', Id (or schema name)='WebResource-msdyn_AvailableIFollowViews.xml'.
Type='WebResource', Id (or schema name)='WebResource-msdyn_ConfigurationFormXml.xml'.
Type='WebResource', Id (or schema name)='WebResource-msdyn_Dynamics_icons_Customer_service'.
Type='WebResource', Id (or schema name)='WebResource-msdyn_Dynamics_icons_Sales'.
Type='WebResource', Id (or schema name)='WebResource-msdyn_LoadGuidedHelp.js'.
Type='WebResource', Id (or schema name)='WebResource-msdyn_LoadGuidedHelpMoCA.js'.
Type='SiteMap', Id (or schema name)='SiteMap-{d5684797-805b-4188-b8fa-1028cfbef003}'.
Type='CustomControl', Id (or schema name)='CustomControl-'.
Type='FieldSecurityProfile', Id (or schema name)='{572329c1-a042-4e22-be47-367c6374ea45}'.
Type='PluginAssembly', Id (or schema name)='PluginAssembly-ActivityFeeds.Filtering.Plugins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Type='PluginAssembly', Id (or schema name)='PluginAssembly-ActivityFeeds.Plugins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Type='SdkMessageProcessingStep', Id (or schema name)='{0abfa17a-e280-e011-bba4-00155da91e01}'.
Type='SdkMessageProcessingStep', Id (or schema name)='{11e6b9c2-e297-e011-a61c-00155db22186}'.
Type='SdkMessageProcessingStep', Id (or schema name)='{12f04a77-bf76-e011-93e7-00155d8a2747}'.

Any idea how to solve this issue?

Thanks in advance!

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Solution Packager - Issue with SiteMap when Packaging

    Hi,

       I have a similar issue as your warning when I use solution packager, I think what you can do for the warning message are:

    1. Compare between the items listed in the Solution.xml file of your unpacked solution and the files that are available in your unpacked solution. You may need to add all this missing component in the warning message.

    2. Or you can create a new solution without this component and re-export the solution to test.

    For the error message, the sitemap component is missing, I am not sure what's the root cause, some suggestions:

    1. Make sure you are using the correct version of solution packager.

    2. Try export one solution only with site map to see if it works. If not, maybe there is some issue between site map and solution packager.

    Check below two links to see if it helps:

    https://community.dynamics.com/crm/f/117/t/194965

    https://social.microsoft.com/Forums/en-US/a651caab-8237-49a0-9b07-e77d3f708eef/solutionpackager-tool-got-rootcomponent-validation-failed-error-in-packing-a-solution?forum=crmdevelopment

  • EnriqueMdz Profile Picture
    EnriqueMdz 1,065 on at
    RE: Solution Packager - Issue with SiteMap when Packaging

    .

  • EnriqueMdz Profile Picture
    EnriqueMdz 1,065 on at
    RE: Solution Packager - Issue with SiteMap when Packaging

    .

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans