web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Error when installing official Microsoft hotfix for AX2012 R3

(0) ShareShare
ReportReport
Posted on by

When this appears in the dynamicsSetupLog, what has then gone wrong: "You cannot import the Foundation (KB4556782) model into a Microsoft layer."

I just 3 weeks ago installed 7 hotfix models from Microsoft into a customers AX 2012 Development and Test environment without any problems, but today, as I am installing 1 new hotfix into the Dev and Test environment, it fails with this message. The update wizard completes successfully, but has a red dot on the last page telling me, that nothing was installed on the model database.

I have the same question (0)
  • Suggested answer
    Anup Shah MSFT Profile Picture
    on at
    RE: Error when installing official Microsoft hotfix for AX2012 R3

    This issue has just been fixed, please redownload the hotfix. Sorry for the inconvenience.

  • Community Member Profile Picture
    on at
    RE: Error when installing official Microsoft hotfix for AX2012 R3

    Hi Anup,

    I actually downloaded a newer hotfix, that had the original one included, and then it installed correctly. But I am facing the problem yet again on the customers Staging environment with some other KB's. Does that mean that I have to download those again. These are KB4513051 and KB4523295 and KB4539848 and KB4541273. Does this have to do with the signing of your models, or what is the reason for the message??

  • Verified answer
    Anup Shah MSFT Profile Picture
    on at
    RE: Error when installing official Microsoft hotfix for AX2012 R3

    From what i have found is there is some certificate check failing in a bunch of hotfixes. These are being investigated.

    Please log a support request through your support channels and mention the list of fixes that are not working to get better traction on this.

  • Verified answer
    Jupke Profile Picture
    48 on at
    RE: Error when installing official Microsoft hotfix for AX2012 R3

    Microsoft is still working on this to fix the issue. However a workaround is possible but for that you need to contact MS to get a dowload link for an unsigned version of AxUtilLib.dll ...

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Error when installing official Microsoft hotfix for AX2012 R3

    Yea, I know, and Microsoft has apparently changed the code in the axutilLib.dll to not check for validity of the signature, but just to check if a signature is present. I have been able to install a lot of the hotfixes that failed for me previously, after the new ones started coming out in June.

  • DerSascha Profile Picture
    77 on at
    RE: Error when installing official Microsoft hotfix for AX2012 R3

    Hmm. Also have this issue.

    After getting the unsigned axutillib.dll I am able to install the binary update (kernel).

    But when trying to install the application update I still get the error below. Some ideas?

    You cannot import the Foundation (put in several KB-numbers here) model into a Microsoft layer. 


    at Microsoft.Dynamics.Setup.Misc.ValidateAxUtilStatus(AxUtilContext context)
    at Microsoft.Dynamics.Setup.DatabaseSqlModel.DatabaseSqlModelInstanceCommon.ImportModelFiles(IEnumerable`1 filenames, IEnumerable`1 modelsToReplace)
    at Microsoft.Dynamics.Setup.DatabaseSqlModel.DatabaseSqlModelInstanceUpdate.Execute()
    An error occurred during setup of Model Database (SERVERNAME:AXTST_model).
    Completed setup of Model Database.


    === Setup was completed successfully.

    === Setup logging ended: 20.10.2020 14:24:55 ErrorLevel/ExitCode: '0' ===
    Exception: System.ArgumentOutOfRangeException

    Message: The parameter value must be greater than zero.
    Parameter name: textLength

    FullText: System.ArgumentOutOfRangeException: The parameter value must be greater than zero.
    Parameter name: textLength
    at MS.Internal.TextFormatting.TextMetrics.FullTextLine.GetTextBounds(Int32 firstTextSourceCharacterIndex, Int32 textLength)
    at MS.Internal.Text.Line.GetRangeBounds(Int32 cp, Int32 cch, Double xOffset, Double yOffset)
    at System.Windows.Controls.TextBlock.GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition)
    at MS.Internal.Documents.TextParagraphView.GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition)
    at System.Windows.Automation.Peers.TextElementAutomationPeer.CalculateVisibleRect(ITextView textView, TextElement textElement, TextPointer startPointer, TextPointer endPointer)
    at System.Windows.Automation.Peers.TextElementAutomationPeer.IsOffscreenCore()
    at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
    at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
    at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
    at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
    at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
    at System.Windows.ContextLayoutManager.fireAutomationEvents()
    at System.Windows.ContextLayoutManager.UpdateLayout()
    at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
    at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
    at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
    at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
    at System.Windows.Threading.DispatcherOperation.InvokeImpl()
    at System.Threading.ExecutionContext.runTryCode(Object userData)
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Windows.Threading.DispatcherOperation.Invoke()
    at System.Windows.Threading.Dispatcher.ProcessQueue()
    at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
    at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
    at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
    at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
    at System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage(MSG& msg)
    at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
    at System.Windows.Window.ShowHelper(Object booleanBox)
    at System.Windows.Window.Show()
    at System.Windows.Window.ShowDialog()
    at Microsoft.Dynamics.Setup.App.LaunchMainForm()
    at Microsoft.Dynamics.Setup.App.MainPart3(ArrayList newArgs)

    ==== Setup encountered an unhandled exception and could not be completed. For details see the previous messages in the log. ===

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,771

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 806 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 542 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans