We use AXUtil to deploy new code to AX TEST and PROD environments. We also have an UpgradeTest environment, and when I test deploying the latest model store file, the AXUtil fails with this message while attempting to apply the temporary schema:
C:\Program Files\Microsoft Dynamics AX\60\ManagementUtilities>AXUtil.exe importstore /db:LHA_2012R2_UpgradeTest_model /s:ax3-04 /apply:TemporarySchema
AXUtil 6.2 - Microsoft Dynamics AX Admin Utility (6.2.1000.1437)
(c) Copyright, Microsoft Corporation, 2011. All rights reserved.
The AXUtil command was started in the mode: importstore.
Working against model store ax3-04/LHA_2012R2_UpgradeTest_model.
ERROR: Could not drop object 'tmpbd43244fd0084a7f8b808ff5862ee9ca.ModelGroup' because it is referenced by a FOREIGN KEY constraint.
Could not apply schema
Has anyone seen this before? Any suggestions on what to do about it, or how to trouble-shoot?