Error during the upgrade of Microsoft CRM organization from 4.0 to 2011 RRS feed

  • Question

  • We are trying to migrate crm 4.0 organization (UR 21 installed) into crm 2011 on-premise (UR 15 installed) by using "Import organization" wizard of MS CRM Deployment Manager. We have created backup of crm 4.0 organization database and restored it into new named instance of SQL server (created for ms crm 2011 deployment and running at the same computer where SQL Server instance for MS CRM 4.0 is running). The import failed without showing error message. The corresponding log file contains the following error message:

    Invalid column name 'AccountId'.relationshipid:f7661892-c080-4d15-8881-08b0fe4b06b5

    at step "XML-Upgrade of  Metadata: 1. Pass".

    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Crm.CrmException: Ungültiger Spaltenname 'AccountId'.relationshipid:f7661892-c080-4d15-8881-08b0fe4b06b5
       at Microsoft.Crm.Metadata.DenormalizedFieldHelper.PopulateDenormalizedField(IViewInfoDescription viewInfoDescription, MetadataHelper helper)
       at Microsoft.Crm.Metadata.MetadataHelper.ProcessDatabaseOperations(CounterList listCounters)
       at Microsoft.Crm.Metadata.MetadataHelper.ProcessQueue()
       at Microsoft.Crm.Setup.DiffBuilder.Pass1(String metadataLocation, String languageCode)

    We have found relationship with relationshipid=f7661892-c080-4d15-8881-08b0fe4b06b5 in the table MetadataSchema.Relationship. It is the relationship with the name "contact_customer_contacts". We cannot find out how this relationship is related to column name "AccountId".

    Any ideas how to proceed? Thanks in advance for your comments

    Wednesday, November 27, 2013 11:20 AM