“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

october

06oct10:00 am10:30 amPreview of D365 Business Central Fall Release Features and Functionality

06oct12:00 pm12:30 pmInsider's Guide to New Features Available in the Fall Release of D365 Finance and Supply Chain

07oct11:00 am12:00 pmConfab LIVE with Stoneridge - Dataverse and Dynamics in Review – Let’s Get Technical

13oct12:00 pm12:30 pmWave 2 Release – What’s Coming for Dynamics 365 Sales and Customer Service

21oct11:00 am12:00 pmConfab LIVE with Stoneridge - Dataverse and Dynamics in Review – Let’s Get Functional

26oct(oct 26)9:00 am28(oct 28)5:00 pmStoneridge Connect Leadership and Community Conference

november

04nov11:00 am12:00 pmConfab LIVE with Stoneridge - Challenging the Development Paradigm

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