“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

february

03feb12:00 pm12:45 pmFour Keys to Choosing the Best ERP or CRM Solution: Part 2 – Platform

10feb12:00 pm12:45 pmFour Keys to Choosing the Best ERP or CRM Solution: Part 3 – Implementation Partner

11feb11:00 am12:00 pmConfab with Stoneridge - Livestream - Live Agents, Power Virtual Agents, Omnichannel – Oh My!

16feb12:00 pm12:45 pmFour Keys to Choosing the Best ERP or CRM Solution: Part 4 – Cost

24feb10:00 am11:00 am5 Campaigns Manufacturing Marketers Don’t Want to Miss

25feb11:00 am12:00 pmConfab with Stoneridge - Livestream - Surfing Through the Dynamics 365 Wave 1 2021 Release

march

03mar10:00 am10:30 amThe Modern Manufacturer - MRP vs. MPS – What, When and How

03mar2:00 pm2:30 pmLot Management Best Practices for Batch Manufacturers

10mar10:00 am10:30 amEnhancing the Customer Experience and Driving More Business with Dynamics 365 Customer Service

10mar2:00 pm2:30 pmThe Five Steps to Managing Sales Tax for Manufacturers

11mar11:00 am12:00 pmConfab with Stoneridge - Livestream - Power Apps Component Framework Power Hour

17mar10:00 am10:30 amThe Modern Manufacturer: Pro Tips for your Finance Team

24mar10:00 am10:30 amUnlock the Potential of Digital Marketing with Dynamics 365 Marketing

25mar11:00 am12:00 pmConfab with Stoneridge - Livestream - The Four Keys to Choosing the Best ERP or CRM Solution

31mar10:00 am10:30 amThe Modern Manufacturer: Keys to Reporting Success

31mar01aprFinancial Reporting w/ Account Schedules for Dynamics 365 Business Central

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