Process used:
Install CRM in a new environment. SQL is SQL 2012. CRM install files include rollup 6. New CRM Organisation runs prefectly.
Backup and restore CRM 4.0 (rollup 21 installed) database to new SQL server.
Open deployment manager and import organisation.
I get a few warnings about Indexes and Stored Procedures and also about the The organization database selected for import is a different version than the organization database that is currently deployed. This has never stopped an upgrade working for me before.
We do have some custom dev plugins registered and this was previously a CRM3.0 environment (many years ago)
The error that I get which stops the import is:
Error| Import Organization (Name=CRM, Id=25f000fc-c954-dd11-9105-001ec9b38eaa) failed with Exception: Microsoft.Crm.CrmException: Upgrade Organization with Id=25f000fc-c954-dd11-9105-001ec9b38eaa failed with Exception: System.Exception: Action Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction failed. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Crm.CrmException:
Column name or number of supplied values does not match table definition.relationshipid:f7661892-c080-4d15-8881-08b0fe4b06b5
I have spent a few days trying different things, rollups etc without any luck. Could it be the SQL 2012? Is it supported? I read it was but also heard of lot of issues.
thanks,
Julian