locked
Error while importing unmanaged Solution in CRM 2011 RRS feed

  • Question

  • Hello,

    I ran into a problem while importing the Unmanaged solution to Development environment from UAT. We've set up our own development environment recently and trying to import the UAT solution to it in order to work on top of it. 

    However, when i tried to import the Solution as unmanaged, the import is being failed. I have included the components of the managed solution in the unmanaged solution. Please check the image.

    *Account* entity is already included in the unmanaged solution and "ConnectorForMicrosoftDynamicsAx" is one of the managed solution in the UAT. 

    Am i missing something here? I tried various options but in vain. Here is a trace log file:

    Response Xml:
    <GetComponentsResponse xmlns="http://schemas.microsoft.com/crm/2011/Contracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ResponseName xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">GetComponents</ResponseName><Results xmlns="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic"><KeyValuePairOfstringanyType><a:key>GetComponents</a:key><a:value i:type="b:string" xmlns:b="http://www.w3.org/2001/XMLSchema">&lt;importexportxml&gt;&lt;solutionManifests&gt;&lt;solutionManifest languagecode="1033"&gt;&lt;UniqueName&gt;CompleteSolution_CRMPROD_300713&lt;/UniqueName&gt;&lt;LocalizedNames&gt;&lt;LocalizedName description="CompleteSolution_CRMPROD_300713" languagecode="1033" /&gt;&lt;/LocalizedNames&gt;&lt;Descriptions /&gt;&lt;Version&gt;1.0&lt;/Version&gt;&lt;Managed&gt;0&lt;/Managed&gt;&lt;Publisher&gt;&lt;UniqueName&gt;DefaultPublisherTejariCRM&lt;/UniqueName&gt;&lt;LocalizedNames&gt;&lt;LocalizedName description="Default Publisher for TejariCrm" languagecode="1033" /&gt;&lt;/LocalizedNames&gt;&lt;Descriptions&gt;&lt;Description description="Default publisher for this organization" languagecode="1033" /&gt;&lt;/Descriptions&gt;&lt;EMailAddress /&gt;&lt;SupportingWebsiteUrl /&gt;&lt;Addresses&gt;&lt;Address&gt;&lt;City /&gt;&lt;Country /&gt;&lt;Line1 /&gt;&lt;Line2 /&gt;&lt;PostalCode /&gt;&lt;StateOrProvince /&gt;&lt;Telephone1 /&gt;&lt;/Address&gt;&lt;/Addresses&gt;&lt;/Publisher&gt;&lt;results&gt;&lt;result result="failure" errorcode="0x8004801D" errortext="The following solution cannot be imported: CompleteSolution_CRMPROD_300713. Some dependencies are missing."&gt;&lt;parameters&gt;&lt;parameter&gt;CompleteSolution_CRMPROD_300713&lt;/parameter&gt;&lt;parameter&gt;&amp;lt;MissingDependencies&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="0" type="1" schemaName="tej_subcasetype_inquiries" displayName="SubCasetype_Inquiries" solution="SON_Tej_CRMCustomizations_29102012_V10 (1.0)" /&amp;gt;&amp;lt;Dependent key="0" type="1" schemaName="tej_subcasetype_inquiries" displayName="SubCasetype_Inquiries" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="2" type="1" schemaName="dynamics_deletedcontact" displayName="*Contact*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="2" type="1" schemaName="dynamics_deletedcontact" displayName="*Contact*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="3" type="1" schemaName="tej_casetype_inquiries" displayName="Casetype_Inquiries" solution="SON_Tej_CRMCustomizations_29102012_V10 (1.0)" /&amp;gt;&amp;lt;Dependent key="3" type="1" schemaName="tej_casetype_inquiries" displayName="Casetype_Inquiries" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="4" type="1" schemaName="dynamics_erpsystemuser" displayName="ERP System User" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="4" type="1" schemaName="dynamics_erpsystemuser" displayName="ERP System User" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="5" type="2" schemaName="modifiedby" displayName="Modified By" parentSchemaName="dynamics_deletedaccount" parentDisplayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="6" type="2" schemaName="modifiedonbehalfby" displayName="Modified By (Delegate)" parentSchemaName="dynamics_deletedaccount" parentDisplayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="7" type="2" schemaName="createdonbehalfbyname" parentSchemaName="dynamics_deletedaccount" parentDisplayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="8" type="2" schemaName="modifiedbyyominame" parentSchemaName="dynamics_deletedaccount" parentDisplayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="9" type="2" schemaName="createdonbehalfbyyominame" parentSchemaName="dynamics_deletedaccount" parentDisplayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="10" type="2" schemaName="modifiedbyname" parentSchemaName="dynamics_deletedaccount" parentDisplayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="11" type="2" schemaName="createdby" displayName="Created By" parentSchemaName="dynamics_deletedaccount" parentDisplayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="12" type="2" schemaName="modifiedonbehalfbyname" parentSchemaName="dynamics_deletedaccount" parentDisplayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="13" type="2" schemaName="statuscodename" parentSchemaName="dynamics_deletedaccount" parentDisplayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="14" type="2" schemaName="statecodename" parentSchemaName="dynamics_deletedaccount" parentDisplayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="15" type="2" schemaName="createdbyyominame" parentSchemaName="dynamics_deletedaccount" parentDisplayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="16" type="2" schemaName="createdbyname" parentSchemaName="dynamics_deletedaccount" parentDisplayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="17" type="2" schemaName="organizationid" displayName="Organization Id" parentSchemaName="dynamics_deletedaccount" parentDisplayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="18" type="2" schemaName="modifiedonbehalfbyyominame" parentSchemaName="dynamics_deletedaccount" parentDisplayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaName="dynamics_deletedaccount" displayName="*Account*" solution="ConnectorForMicrosoftDynamicsAx (1.0.1603.2)" /&amp;gt;&amp;lt;Dependent key="19" type="50" schemaName="dynamics_deletedaccount:RibbonDiffXml" /&amp;gt;&amp;lt;/MissingDependency&amp;gt;&amp;lt;MissingDependency&amp;gt;&amp;lt;Required key="1" type="1" schemaNam

    Any quick help is highly appreciated.

    Thanks,

    Mohd Hameed Hussain.

    Tuesday, October 22, 2013 6:37 PM

Answers

  • Hi Mohd,

    I think the reason for this is that you need to install the Managed solution 'ConnectorForMicrosoftDynamicsAX' on your target system. The reason being is that when you export your unmanaged solution - it has detected that there are components referenced by it that are included as part of the managed solution. This results in the managed solution being referenced in the solution as a dependency - and so it is asking for it to be installed first. If you don't add any of the managed components to your unmanaged solution, then this dependency won't be there.

    See http://msdn.microsoft.com/en-us/library/gg309749.aspx for more info.

    hth,

    Scott


    Scott Durow
    Blog www.develop1.net    Follow Me
    Rockstar365
    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    Tuesday, October 22, 2013 8:48 PM
    Answerer