Good to know about AxDBUpgrade.exe

IMPORTANT!
AxDBUpgrade.exe MUST BE RUNED! on the computer that hosts the AX 3.0 and AX 2009 database. The reason is that the program retrives information from the AX 3.0 database, stores it in the temp folder and does a bulk insert into the AX 2009 database. This also means that the user running the application will require permissions on the sql server to do bulk insertion.

Problem:
When trying run the AxDBUpgrade the following error can occure, "Cannot read the list of columns to be upgraded"

Solution:
You have to start the AX 3.0 environment, import the PrivateProject_UpgradeColumnList.xpo from the Dynamics AX 2009 dvd. When the form is imported, run it and press the generate button. This will fill the table UpgradeColumns with information about which fields that should be upgraded to 64-bit by the AxDBUpgrade tool.

Problem:
When trying to start AxDBUpgrade.exe on a operating system with 64-bit architecture you might encounter the following error "The application failed to initialize properly (0xc0150002). This is because AxDBUpgrade.exe is writen for the x86 architecture.

Solution:
This is solved by installing "Microsoft Visual C++ Redistributeable Package (x86)" which can be found on the Dynamics Ax 2009 install DVD. Start the setup procedure and the package will be installed as it is a prerequsite for installing AX. When the package have been installed just end the installation. Installing this package does not require a reboot of the computer.

Comments

Popular posts from this blog

How to disable auto enabled flight key using KillSwitch

Technical intro to Feature management in D365FO

Continuous integration and deployment Power platform FinOps tweaking