One thing I came across in my current Dynamics Ax 2012 upgrade project is that the database collation needs to be the same for both the databases, that is the source (4.0/2009) and the target database (2012).
This might
be obvious, but there is no information about this in the Dynamics AX 2012 Upgrade
Guide so it took me some time to figure out why the “Connect to source database” in the “Data upgrade checklist” was giving me an error when I tried to
connect to the source database.
When I tried to connect to the source database I got an error shortly afterwards saying that the locale ‘1033’ is not the same as the target locale ‘1030’. After some investigation and thinking I started to look at the two databases and found out that they had a different collation. So my first task was to create a copy of the source database with the correct collation.
When I tried to connect to the source database I got an error shortly afterwards saying that the locale ‘1033’ is not the same as the target locale ‘1030’. After some investigation and thinking I started to look at the two databases and found out that they had a different collation. So my first task was to create a copy of the source database with the correct collation.
Error message "The locale id '1033' of the source column 'NAME' and the locale id '1030' of the destination column 'NAME' do not match.";
Changing the collation on a Dynamics Ax database is a bit more complex process then just running an ALTER command on the database. All the tables need to be changed as well, since it is on the tables where the collation difference becomes a problem.
Changing the collation on a Dynamics Ax database is a bit more complex process then just running an ALTER command on the database. All the tables need to be changed as well, since it is on the tables where the collation difference becomes a problem.
This blog
post describes the process how to create a new database with the correct
collation HOWTO:
Change collation of AX database? By Martin Falta
After i had created a new database with the same collation as the target database then i could finish the Data upgrade checklist without any further problems.
After i had created a new database with the same collation as the target database then i could finish the Data upgrade checklist without any further problems.
Target DB was the original database with different collation. Source DB is the new database that i created with the correct collation.
Well done! Changing Collation Challenge.
ReplyDelete