Error when upgrading to CRM 2015 RRS feed

  • Question

  • Hi,

    I am trying to upgrade my Organisation (currently in CRM 2013 SP1) to CRM 2015 (via Import Org method) and getting the following error,

    >Crm Exception: Message: Upgrade Organization with Id=8c05fa04-db9c-e211-8cce-005056833018 failed with Exception:
    System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction ---> System.Data.SqlClient.SqlException: 'attribute_attributeid' is not a constraint.
    Could not drop constraint.


    Appreciate your comments/solutions ?

    Thursday, May 7, 2015 11:42 PM

All replies

  • Did the source environment have CRM 2013 SP 1 installed?   You need to have this installed first. Then take a new backup of the org database, and restore the backup to the target SQL server.

    Jason Peterson

    Monday, May 11, 2015 4:05 PM