Reply To: In-place upgrade to AX 2012 R2 or AX 2012 R3


Abu Mohammed Ali

An upgrade from one version of Microsoft Dynamics AX 2012 to another is known as a minor version or in-place upgrade. This type of upgrade requires no source-to-target workflow of the kind that is used when you upgrade from Microsoft Dynamics AX 4.0 or Microsoft Dynamics AX 2009. Instead, the upgrade operations are performed on a copy of your production system.

An upgrade to AX 2012 R2 is almost the same as an upgrade to AX 2012 R3 from a version prior to AX 2012 R2. The recommended topology for this in-place upgrade scenario requires three Microsoft Dynamics AX systems:

Production – The existing system that you are upgrading.

Test – A copy of your production system that is used to upgrade the database architecture, test new components, and test the data upgrade.

Development – A copy of your test system, where you upgrade your customized code and other metadata.

Upgrade Steps

Step 1. Synchronize, Compile and Generate CIL on the AX 2012 R2 application.

Step 2. Stop AOS & then back up model and business data databases.

Step 3. Restore the model and business data databases in a new environment.

Step 4. Start the AX 2012 R3 installation setup on a new environment.

Step 5. Select only the databases component.

Step 6. Select configure existing databases.

Step 7. In this step, Assign the R2 database and make sure that the Baseline database name field is left blank during this procedure.

Step 8. On the Select additional models page, select the Foundation model, Foundation Upgrade model, and any other models that you require for your deployment. Select the Foundation Labels model only if you are using country/region-specific features.

Step 9. Now install all other required AX components.

Step 10. Now, assign the database and upgraded baseline database in this step.

Step 11. Once, the installation is completed then compile the whole application using the command “axbuild xppcompileall” from the command prompt. This compiled the whole application for me in just 30 to 40 minutes.

Step 12. Now restart AOS and proceed with the code upgrade & data upgrade checklists. Follow the code upgrade document on the complete details.

Skip to toolbar