Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

CRM2013: Cannot import organisation from CRM2011: SqlException: An object or column name is missing or empty

$
0
0

Hi,

We are trying to migrate from CRM2011 to CRM2013 (plan is to migrate Do Dynamics365 at the end). What we do

  1. Latest updates on CRM2011 (RU18)
  2. Backup full database on CRM2011 server
  3. Restore db on CRM2013 server
  4. Import organization in CRM2013. Fix legacy errors (remove legacy objects)
  5. The import failed with SQL error
"An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name., View Script: if exists (select * from sysobjects where name = 'Contact' and xtype = 'V')"

The logs is attached

It looks like the migration script does not properly create an SQL statement when it creates a new Contacts view. E.g., it does not insert AccountBase table for out custom fields: instead of "SELECT ... [AccountBase].[brs_COProle] ..." it generates "SELECT ... [].[brs_COProle]"


Does anybody knows how to resolve it?
community.dynamics.com/.../crmdmsnapin.log

Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images