locked
Import Solution from CRM 2011 into another CRM 2011 (update rollup 16) fails RRS feed

  • Question

  • We are exporting the default solution from one CRM 2011 organisation, and trying to import it into another CRM 2011 (on a different server). Both are on update rollup 16.

    We get this error in the trace log

    Crm Exception: Message: Import failed, ErrorCode: -2147188706, InnerException: System.ArgumentException: An item with the same key has already been added

    and this error in the import log

    Form Contract   Failure 0x80044150  An item with the same key has already been added.

    Comparing the attributes in the Contract entity we found a difference in upper/lower case in the schema name for one attribute.

    We deleted this attribute from the original organisation, re-exported the default solution, and tried importing again.

    Same error in the same place.

    Can anyone help get this sorted please?



    • Edited by STHook Tuesday, May 6, 2014 12:06 PM title incorrect
    Tuesday, May 6, 2014 12:04 PM

All replies

  • When you export from the source crm server did you look inside the exported customizations.zip file to make sure it is as it should be.

    What exists in the destination crm server by that I mean the schema of Contact . It may be necessary to prepare the destination crm server as you did the source crm server

    Monday, June 2, 2014 1:10 PM
  • Yes, we looked in customizations.zip and all seemed ok.

    Not sure what you mean by "It may be necessary to prepare the destination crm server as you did the source crm server", sorry.

    Monday, June 2, 2014 1:25 PM
  • and this error in the import log

    Form Contract   Failure 0x80044150  An item with the same key has already been added.

    Comparing the attributes in the Contract entity we found a difference in upper/lower case in the schema name for one attribute.

    We deleted this attribute from the original organisation, re-exported the default solution, and tried importing again.

    If the destination crm server has the same attributes in Contact as what was in the source crm server then you might have to remove the attribute from the destination crm server as you did from the source crm server

    Thursday, June 5, 2014 3:49 AM
  • From the error, it looks like an already known bug. Rollup 16 has bug when importing solution from other env to overwrite components. Rollup17 has been fixed the issue

    Please install Rollup 17 and have a try:

    http://support.microsoft.com/kb/2915687/en-us

     After applying Update Rollup 16, Solution import fails with overwriting components

    Wilson

    Tuesday, June 10, 2014 7:24 AM