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

By Jackie Olson | February 4, 2021

error message black 1

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

Recommended Reading:

Managing Your Business Through Uncertain Times Using Dynamics 365 Finance and Operations

  Dynamics 365 Finance and Operations (F&O) can help you make informed decisions on how to move your business forward. […]

Read the Article
5.13.22 Power Platform

Using Power BI Object Level Security

  The following article will demonstrate how to use Power BI Object Level Security to disable column data based on […]

Read the Article
5.12.22 Dynamics CRM

How to Use the Stoneridge Support Portal

Stoneridge Software’s support portal is an intuitive and useful function that makes it easy for you to access resources to […]

Read the Article
5.6.22 Dynamics GP

Dynamics GP Transaction Removal: Purchase Orders

  Are you having performance issues with Purchase Orders?  Do you find that there are old Purchase Orders on your […]

Read the Article
5.5.22 Dynamics GP

The Real Story about the Long-Term Future of Dynamics GP Support

I’ve seen a number of people put forward comment that Dynamics GP is going away and you have to get […]

Read the Article

New Features in Dynamics 365 Business Central 2022 Wave 1 Release – Financial Enhancements

The Dynamics 365 Businses Central 2022 Wave 1 Release has a lot of new and exciting features to help your […]

Read the Article
4.29.22 Dynamics GP

Dynamics GP Transaction Removals: Bank Reconciliation

  This is part 2 of a 3 part series on Dynamics GP Transaction Removals. These quick tips will hopefully […]

Read the Article
4.28.22 Dynamics GP

Uncommonly Used Features – Integrate Purchasing and Payables to Fixed Assets in Dynamics GP

Being able to integrate Purchasing and Payables to Fixed Assets in Dynamics GP will help you create visibility for your […]

Read the Article

New Features in the Dynamics 365 Business Central 2022 Wave 1 Release – Ease-of-Use Features

  There are many new features in the Dynamics 365 Business Central 2022 Wave 1 Release to get excited about! […]

Read the Article

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X