locked
Solution Import Failed RRS feed

  • Question

  • I am trying to import a managed solution in a CRM, but following error occurs:

    1. The solution cannot be imported because the queue entity contains a Ribbon definition, which is not supported for that entity. Remove the RibbonDiffXml node from the entity definition and try to import again

    When I import the solution it doesn't give any error and completes the whole process, but at the end of import the whole import role backs and above mentioned error occurs.

    Following is the screenshot of the error:

    and following is the error message in log file:

    Following above error message, I have made change in customizations.xml file and removed the <RibbonDiffXml> tag and then re-produced the solution. But this time I got a different error related to Dependency Calculation, screenshot is as follows:

    Log in above case doesn't give any specific error, it just give a general error saying that error occurred.

    In both cases the solution import completed but in the end import got rolled back.

    Kindly help with this issue, it is very critical.

    Tuesday, February 3, 2015 9:47 AM

All replies

  • If you directly edited customizations.xml, then you may also need to edit the solution.xml file (this file contains information about dependencies) to remove any dependency information relating to the changes you made to customizations.xml.

    However, it would be safer to make the changes within CRM, or within the source organisation, prior to exporting the managed solution, if that is possible


    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Tuesday, February 3, 2015 2:03 PM
    Moderator
  • Thank you David. I have done that too but I am still getting "Dependency Calculation" Error.

    Is it possible that some of the customizations on the Production CRM are different as compared to the Development CRM, which are not apparent ?

    Wednesday, February 4, 2015 6:38 AM
  • It may well be that there are differences between your Production and Development CRM systems.

    Does the import log give any more information about the dependency ?


    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Wednesday, February 4, 2015 8:53 PM
    Moderator
  • yes I get following error in the import log:

    "The solution cannot be imported because the Queue Entity contains a Ribbon deifinition which is not supported for that entity. remove the RibbonDiffXml node from the entity definition and try to import again."

    Thursday, February 5, 2015 8:16 AM
  • Hi,

    Please Share your RibbonDiffXML tag from Customization.xml


    Regards, Saad

    Thursday, February 5, 2015 9:08 AM
  • Hello Saad

    Here is the tag:

          <RibbonDiffXml>
            <CustomActions />
            <Templates>
              <RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>
            </Templates>
            <CommandDefinitions />
            <RuleDefinitions>
              <TabDisplayRules />
              <DisplayRules />
              <EnableRules />
            </RuleDefinitions>
            <LocLabels />
          </RibbonDiffXml>

    Thursday, February 5, 2015 10:58 AM
  • Hi,

    Can you check if you have made some changes to queue entity ribbon i.e. compare the ribbon in your solution with ribbon code provided in sdk.

    It will be helpful if you post your queue entity ribbon definition here.


    Regards, Saad

    Thursday, February 5, 2015 11:11 AM
  • Thank you Saad.

    Following is the XML definition of the Queue entity in my Development CRM:

    <Entity>
          <Name LocalizedName="Queue" OriginalName="Queue">Queue</Name>
          <ObjectTypeCode>2020</ObjectTypeCode>
          <FormXml>
            <forms type="main">
              <systemform>
                <formid>{a96ce25b-0ba6-4862-a0df-537b9c4e0006}</formid>
                <IntroducedVersion>1.0</IntroducedVersion>
                <FormPresentation>0</FormPresentation>
                <FormActivationState>1</FormActivationState>
                <form>
                  <tabs>
                    <tab name="general" verticallayout="true" id="{6db25522-e754-4585-a071-3c151552131f}" IsUserDefined="0" ordinalvalue="0">
                      <columns>
                        <column width="100%" id="0">
                          <sections>
                            <section name="queue information" showlabel="false" showbar="false" id="{a6b7da11-e32c-4759-b349-af7b46c1cb9f}" IsUserDefined="0" ordinalvalue="0">
                              <rows>
                                <row>
                                  <cell id="{9687b1b4-f340-42d9-a315-bd2929839614}" ordinalvalue="10005" solutionaction="Modified" />
                                </row>
                                <row>
                                  <cell colspan="2" showlabel="true" rowspan="5" id="{1611dcc3-67fe-4db9-8799-d1f582d7caac}" ordinalvalue="10007" solutionaction="Modified" />
                                </row>
                                <row>
                                  <cell id="{54c36cab-341a-3a8c-97c9-20cc695d7d39}" showlabel="true" locklevel="0" ordinalvalue="10001" solutionaction="Added">
                                    <labels>
                                      <label description="" languagecode="1033" />
                                    </labels>
                                    <control id="new_managerid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="new_managerid" disabled="false" />
                                  </cell>
                                </row>
                                <row>
                                  <cell id="{32d58810-0a70-03b0-aac2-21044e2de006}" showlabel="true" locklevel="0" ordinalvalue="10003" solutionaction="Added">
                                    <labels>
                                      <label description="" languagecode="1033" />
                                    </labels>
                                    <control id="new_hod" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="new_hod" disabled="false" />
                                  </cell>
                                  <cell id="{7627244d-1258-4982-813c-940cde51bb47}" showlabel="true" locklevel="0" ordinalvalue="20004" solutionaction="Added">
                                    <labels>
                                      <label description="" languagecode="1033" />
                                    </labels>
                                    <control id="new_director" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="new_director" disabled="false" />
                                  </cell>
                                </row>
                                <row>
                                  <cell id="{a1614947-d7cd-055a-8b8a-281d73444b7a}" showlabel="false" ordinalvalue="20006" solutionaction="Added">
                                    <labels>
                                      <label description="" languagecode="1033" />
                                    </labels>
                                  </cell>
                                </row>
                              </rows>
                            </section>
                          </sections>
                        </column>
                      </columns>
                    </tab>
                  </tabs>
                  <Navigation solutionaction="Added">
                    <NavBar></NavBar>
                    <NavBarAreas>
                      <NavBarArea Id="Info">
                        <Titles>
                          <Title LCID="1033" Text="Common" />
                        </Titles>
                      </NavBarArea>
                      <NavBarArea Id="Sales">
                        <Titles>
                          <Title LCID="1033" Text="Sales" />
                        </Titles>
                      </NavBarArea>
                      <NavBarArea Id="Service">
                        <Titles>
                          <Title LCID="1033" Text="Service" />
                        </Titles>
                      </NavBarArea>
                      <NavBarArea Id="Marketing">
                        <Titles>
                          <Title LCID="1033" Text="Marketing" />
                        </Titles>
                      </NavBarArea>
                      <NavBarArea Id="ProcessCenter">
                        <Titles>
                          <Title LCID="1033" Text="Processes" />
                        </Titles>
                      </NavBarArea>
                    </NavBarAreas>
                  </Navigation>
                </form>
                <LocalizedNames>
                  <LocalizedName description="Information" languagecode="1033" />
                </LocalizedNames>
                <Descriptions>
                  <Description description="A form for this entity." languagecode="1033" />
                </Descriptions>
              </systemform>
            </forms>
          </FormXml>
          <RibbonDiffXml>
            <CustomActions />
            <Templates>
              <RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>
            </Templates>
            <CommandDefinitions />
            <RuleDefinitions>
              <TabDisplayRules />
              <DisplayRules />
              <EnableRules />
            </RuleDefinitions>
            <LocLabels />
          </RibbonDiffXml>
        </Entity>

    and Following is the defintion of Queue Entity in the Production CRM, where I am importing my solution:

      <Entity>
          <Name LocalizedName="Queue" OriginalName="Queue">Queue</Name>
          <ObjectTypeCode>2020</ObjectTypeCode>
          <FormXml>
            <forms type="main">
              <systemform>
                <formid>{a96ce25b-0ba6-4862-a0df-537b9c4e0006}</formid>
                <IntroducedVersion>1.0</IntroducedVersion>
                <FormPresentation>0</FormPresentation>
                <FormActivationState>1</FormActivationState>
                <form>
                  <hiddencontrols>
                    <data id="emailrouteraccessapproval" datafieldname="emailrouteraccessapproval" classid="{5546E6CD-394C-4bee-94A8-4425E17EF6C6}" />
                    <data id="outgoingemaildeliverymethod" datafieldname="outgoingemaildeliverymethod" classid="{5546E6CD-394C-4bee-94A8-4425E17EF6C6}" />
                    <data id="incomingemaildeliverymethod" datafieldname="incomingemaildeliverymethod" classid="{5546E6CD-394C-4bee-94A8-4425E17EF6C6}" />
                  </hiddencontrols>
                  <tabs>
                    <tab name="general" verticallayout="true" id="{6db25522-e754-4585-a071-3c151552131f}" IsUserDefined="0">
                      <labels>
                        <label description="General" languagecode="1033" />
                      </labels>
                      <columns>
                        <column width="100%">
                          <sections>
                            <section name="queue information" showlabel="false" showbar="false" id="{a6b7da11-e32c-4759-b349-af7b46c1cb9f}" IsUserDefined="0">
                              <labels>
                                <label description="Queue Information" languagecode="1033" />
                              </labels>
                              <rows>
                                <row>
                                  <cell colspan="2" id="{255991d3-3d7c-488d-ab5f-59459ecd6c29}">
                                    <labels>
                                      <label description="Queue Name" languagecode="1033" />
                                    </labels>
                                    <control id="name" classid="{4273EDBD-AC1D-40d3-9FB2-095C621B552D}" datafieldname="name" />
                                  </cell>
                                </row>
                                <row>
                                  <cell id="{54c36cab-341a-3a8c-97c9-20cc695d7d39}" showlabel="true" locklevel="0">
                                    <labels>
                                      <label description="Manager" languagecode="1033" />
                                    </labels>
                                    <control id="new_managerid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="new_managerid" disabled="false" />
                                  </cell>
                                  <cell id="{a66f8b6d-aed2-4449-9eaf-6debbf4b78be}">
                                    <labels>
                                      <label description="Owner" languagecode="1033" />
                                    </labels>
                                    <control id="ownerid" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="ownerid" />
                                  </cell>
                                </row>
                                <row>
                                  <cell id="{32d58810-0a70-03b0-aac2-21044e2de006}" showlabel="true" locklevel="0">
                                    <labels>
                                      <label description="HOD" languagecode="1033" />
                                    </labels>
                                    <control id="new_hod" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="new_hod" disabled="false" />
                                  </cell>
                                  <cell id="{7627244d-1258-4982-813c-940cde51bb47}" showlabel="true" locklevel="0">
                                    <labels>
                                      <label description="Director" languagecode="1033" />
                                    </labels>
                                    <control id="new_director" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="new_director" disabled="false" />
                                  </cell>
                                </row>
                                <row>
                                  <cell id="{9687b1b4-f340-42d9-a315-bd2929839614}">
                                    <labels>
                                      <label description="Incoming Email" languagecode="1033" />
                                    </labels>
                                    <control id="emailaddress" classid="{ADA2203E-B4CD-49be-9DDF-234642B43B52}" datafieldname="emailaddress" />
                                  </cell>
                                  <cell id="{a1614947-d7cd-055a-8b8a-281d73444b7a}" showlabel="false">
                                    <labels>
                                      <label description="" languagecode="1033" />
                                    </labels>
                                  </cell>
                                </row>
                                <row>
                                  <cell colspan="2" showlabel="true" rowspan="5" id="{1611dcc3-67fe-4db9-8799-d1f582d7caac}">
                                    <labels>
                                      <label description="Description" languagecode="1033" />
                                    </labels>
                                    <control id="description" classid="{E0DECE4B-6FC8-4a8f-A065-082708572369}" datafieldname="description" />
                                  </cell>
                                </row>
                                <row />
                                <row />
                                <row />
                                <row />
                              </rows>
                            </section>
                            <section name="incoming email" showlabel="true" showbar="true" locklevel="0" id="{65cea1b0-5dfa-4e0b-8b01-e6f89d7abdc8}" IsUserDefined="0">
                              <labels>
                                <label description="Incoming Email" languagecode="1033" />
                              </labels>
                              <rows>
                                <row>
                                  <cell id="{ab457702-b8d1-458e-9c85-dfd80b7dd74f}">
                                    <labels>
                                      <label description="Convert to email activities:" languagecode="1033" />
                                    </labels>
                                    <control id="incomingemailfilteringmethod" classid="{3EF39988-22BB-4f0b-BBBE-64B5A3748AEE}" datafieldname="incomingemailfilteringmethod" disabled="false" />
                                  </cell>
                                </row>
                              </rows>
                            </section>
                            <section name="email configuration" showlabel="true" showbar="true" locklevel="0" id="{9DE88AB0-DF45-463c-A91D-E4F9AF70B79D}" IsUserDefined="0">
                              <labels>
                                <label description="Email Configuration" languagecode="1033" />
                              </labels>
                              <rows>
                                <row>
                                  <cell id="{e582170e-3060-a166-a6ce-b00d8a7e06b5}" showlabel="true" locklevel="0">
                                    <labels>
                                      <label description="Mailbox" languagecode="1033" />
                                    </labels>
                                    <control id="defaultmailbox" classid="{270BD3DB-D9AF-4782-9025-509E298DEC0A}" datafieldname="defaultmailbox" disabled="false" />
                                  </cell>
                                </row>
                              </rows>
                            </section>
                          </sections>
                        </column>
                      </columns>
                    </tab>
                  </tabs>
                  <Navigation>
                    <NavBar></NavBar>
                    <NavBarAreas>
                      <NavBarArea Id="Info">
                        <Titles>
                          <Title LCID="1033" Text="Common" />
                        </Titles>
                      </NavBarArea>
                      <NavBarArea Id="Sales">
                        <Titles>
                          <Title LCID="1033" Text="Sales" />
                        </Titles>
                      </NavBarArea>
                      <NavBarArea Id="Service">
                        <Titles>
                          <Title LCID="1033" Text="Service" />
                        </Titles>
                      </NavBarArea>
                      <NavBarArea Id="Marketing">
                        <Titles>
                          <Title LCID="1033" Text="Marketing" />
                        </Titles>
                      </NavBarArea>
                      <NavBarArea Id="ProcessCenter">
                        <Titles>
                          <Title LCID="1033" Text="Processes" />
                        </Titles>
                      </NavBarArea>
                    </NavBarAreas>
                  </Navigation>
                </form>
                <LocalizedNames>
                  <LocalizedName description="Information" languagecode="1033" />
                </LocalizedNames>
                <Descriptions>
                  <Description description="A form for this entity." languagecode="1033" />
                </Descriptions>
              </systemform>
            </forms>
          </FormXml>
          <SavedQueries>
            <savedqueries>
              <savedquery>
                <isquickfindquery>0</isquickfindquery>
                <isprivate>0</isprivate>
                <isdefault>1</isdefault>
                <returnedtypecode>2020</returnedtypecode>
                <savedqueryid>{3a8191c3-d94e-4fd4-af8b-5bf29568a563}</savedqueryid>
                <queryapi></queryapi>
                <layoutxml>
                  <grid name="resultset" object="2020" jump="name" select="1" icon="1" preview="1">
                    <row name="result" id="queueid">
                      <cell name="name" width="300" />
                      <cell name="emailaddress" width="200" />
                    </row>
                  </grid>
                </layoutxml>
                <querytype>0</querytype>
                <fetchxml>
                  <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
                    <entity name="queue">
                      <attribute name="name" />
                      <attribute name="emailaddress" />
                      <order attribute="name" descending="false" />
                      <filter type="and">
                        <condition attribute="queueid" operator="eq" uiname="Customer Service" uitype="queue" value="{E59224C6-6379-E411-80C3-00155D6FA100}" />
                        <condition attribute="statecode" operator="eq" value="0" />
                      </filter>
                      <attribute name="queueid" />
                    </entity>
                  </fetch>
                </fetchxml>
                <IntroducedVersion>5.0.0.0</IntroducedVersion>
                <LocalizedNames>
                  <LocalizedName description="My Active Queues" languagecode="1033" />
                </LocalizedNames>
              </savedquery>
            </savedqueries>
          </SavedQueries>
          <RibbonDiffXml>
            <RibbonNotSupported />
          </RibbonDiffXml>
        </Entity>
    They seem different as per code. Kindly help me sort out how to resolve this issue.


    • Edited by Absaar Thursday, February 5, 2015 12:41 PM
    Thursday, February 5, 2015 12:39 PM
  • Remove this <RibbonNotSupported /> tag from production and try again

    Regards, Saad





    • Edited by Mohd Saad Thursday, February 5, 2015 1:10 PM
    Thursday, February 5, 2015 12:52 PM
  • Thank you very much Saad, above issue is solved. Now I am getting "Dependency Calculation" error, in "solution.xml" file I can see multiple <MissingDependency> tags, all of them are either for web-resource "msdyn_/ActivityFeeds.Form.js" or for "msdyn_/RecordWall.htm."

    Problem here is that both are present in the solution and are definitely present in target crm, but I am still getting missing dependency error' kindly guide me.

    Thursday, February 5, 2015 2:41 PM
  • I thought you said that the RibbonDiff error was the first error, and that you'd got past that, and now had a dependency calculation error. Is there any more detail about the dependency error in the import log ?


    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Thursday, February 5, 2015 5:32 PM
    Moderator
  • Thank you David.

    I have got past the Ribbon Diff error. But now I am facing "Dependency Calculation" error. Import log doesn't give any specific reason but has following line in corresponding tag:

    "An error has occurred. Try this action again. If the problem continues, check the Microsoft Dynamics CRM Community for solutions or contact your organization's Microsoft Dynamics CRM Administrator. Finally, you can contact Microsoft Support."

    While looking into the problem I explored the solution.xml file. There are many missing dependency tags in it. These tags specifically depend upon three other solutions. Now I have already installed two out of three solutions on the target crm but I am not sure how the third one is installed as it's name is"ActivityFeedsCore (6.0.0.809)."

    As per my knowledge it is already part of core solution (I am Using Dynamics CRM 2013).

    Kindly provide some help how to handle this "ActivityFeedsCore (6.0.0.809)" issue.


    Note: When I import the solution it doesn't give any error about any missing dependencies and the wizard completes the import, but as soon as the import progress bar reaches to complete, it rolls back and gives the "Dependency Calculation" error.
    • Edited by Absaar Friday, February 6, 2015 3:59 AM
    Friday, February 6, 2015 3:53 AM