Monday, November 04, 2013

Dynamics AX 2012 R2 CU7 Installation error

EDIT: This seems to be an odd issue. I tested again with demo DB (CU6) from partner source and there was no issue at all installing CU7 over it.

I'd also like to point to some very nice posts regarding CU7:
Joris de Gruyter: What you need to know about the 15 minutes CU7 compiler
Tommy Skaue: You got to love AX Build comipler tool
and if you were using DIXF:
André Arnaud de Calavon: How to upgrade Data Import/Export Framework to AX2012 R2 CU7
When I try to install CU7 on a CU6 environment, an error appears when the new models are being imported. Check the log and there is this message:
Error updating model database: Microsoft.Dynamics.Setup.AxSetupException: AxUtil call returned errors:The model contains a customization of a configuration key. The model cannot be imported because you can overlayer a configuration key from the patching layer only.

Both CU6 and CU7 use the same model name "Update for Foundation" with a different display name.("Foundation ([KB#])" with KB# equals to their respective KB number.) And as suggested in the error message configuration key changes in CU6 blocked the installation.

Uninstall the existing CU6 model first will allow the installation to proceed. However, please do note that this work around does NOT guarantee element ID consistency and is not suitable for production system.

This posting is provided "AS IS" with no warranties, and confers no rights.