“An error occurred during setup of Model database” When Trying to Install Dynamics AX Hotfix

by | February 4, 2021 | Dynamics AX

I recently tried to install KB 4602212 (2020 1099 fix) released 1/2021. The Dynamics AX DEV environment was on 6.3.4000.2085 AX kernel. I ran into this error trying to install the hotfix. It was not an option to apply a newer AX kernel to their DEV environment since SQL server (AX SSRS components) was shared by DEV, TEST & UAT.

The hotfix finished with these errors in the setup log.

error occured code

The first error is saying you do not have rights to write to the event log on the database server. If you give me local admin rights to the database server – that will take care of the error.  But we can leave it as it is.

The error preventing me from updating the AX_model database is “An error occurred during setup of Model database”

If I run the axutil import command to try and manually import one of the models listed above, I get this error, “You cannot import the foundation (KBxxxxxxx) model into a Microsoft layer.

error message black 1

The workaround was to copy these 2 files below from an AX environment with a newer kernel (I used 6.3.6000.9100) from the C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin or the C:\Program Files\Microsoft Dynamics AX\60\ManagementUtilities folder and replacing these files in the AX DEV environment.

  • AXUtillib.dll
  • AXutilLib.PowerShell.dll

Related Posts

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Upcoming Events

june

02jun2:00 pm2:30 pmBusiness Intelligence for Batch Manufacturers

16jun10:00 am10:30 amHow AP automation can speed up month-end close in D365 Finance

17jun11:00 am12:00 pmConfab Live with Stoneridge – Real Time Marketing Strategies for Success

23jun10:00 am10:30 amThe Modern Manufacturer: Cost Accounting in D365

30jun10:00 am10:30 amAP Automation Checklist for a 2022 Rebound

30jun2:00 pm2:30 pmAchieving Success: How Technology Is Helping Nonprofits Thrive

july

01jul11:00 am12:00 pmConfab Live with Stoneridge – Dataverse Virtual Entities

14jul12:00 pm12:30 pmBeyond Reporting - What Business Intelligence Can Do For Your Agribusiness

14jul2:00 pm3:00 pmMastering the Production Floor

15jul11:00 am12:00 pmConfab Live with Stoneridge – Integration Strategies for End User Success

21jul10:00 am10:30 amThe Modern Manufacturer: Manufacturing Software in the Real World

21jul12:00 pm1:00 pmIs it Worth it to Upgrade to Dynamics 365 Finance and Supply Chain Management? - Everything AX Users Need to Consider

28jul2:00 pm2:30 pmConsiderations for Successful Testing Plans for Major Releases of Dynamics 365 Finance and Supply Chain Management

About Stoneridge
Stoneridge Software is a unique Microsoft Gold Partner, with emphasis on partner. With specialties in Microsoft Dynamics 365, Microsoft Dynamics AX, Microsoft Dynamics NAV, Microsoft Dynamics GP and Microsoft Dynamics CRM, we focus on attracting the most knowledgeable experts in the field to our team, and prioritize delivering stellar solutions with maximum impact for your business. At Stoneridge, we are deeply committed to your results. Each engagement is met with a dedicated team, ready to provide thorough, tailored, and expert service. Based in Minnesota, we intentionally “step into your shoes,” wherever you are. We focus on what you care about, and develop trusting, long-term relationships with our clients.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X