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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Deadlock in AXBuild.exe

(0) ShareShare
ReportReport
Posted on by 300,911 Super User 2025 Season 2

Hi all,

I have used the AXBuild command several times to compile the complete application. Today I started it after installing a hotfix in a test environment (AX 2012 R2 CU7). I have noticed a deadlock message in one of the worker sessions. The other sessions don't have the error. It looks like it will continue, but this test system is not configured for high performance so it is a bit slow. I wonder if it will complete sucessfully.

Has anyone seen this error before and did encounter problems afterwards?

*This post is locked for comments

I have the same question (0)
  • Maxim Gorbunov Profile Picture
    456 on at

    No, haven't seen anything like that but to be honest I never followed the messages that closely.

    Could you try to run Optimize-AXModelStore in DAX PowerShell and test AxBuild again?  Will it still deadlock?

    Also does table FiscalDocumentFormat_BR appear in the AxCompileAll.html log file after this deadlock?

  • André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at

    HI Maxim,

    Thanks for your reply. I'm not able to check now. I can look at it tomorrow again. The compilation was not finished when I left the office.

  • André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at

    There was a very bad setup of the SQL server. The compile did not complete it just took ages. So the compilation was cancelled. E.g. the TempDB was not configured correctly , there was too less memory available and some more... :(

    That caused a huge performance issue on this AXbuild. Rerun with other hardware and configuration settings seemed to pass this all.

    Unfortunately I was not able to check results of the compilation. It is all OK now.

    I still wonder if anyone has seen a similar message and could share some experience as well.

  • DimanC Profile Picture
    113 on at

    Hello André

    I got this error in CU7 Demo environment (Contoso) i downloaed from MS. Expected that it should work smoothly... Noticed that memory usage is 96%  - similar symptoms that you. Currently I haven't done detailed research. Will try to kill the process and start it all over :)

  • André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at

    Hi Atis,

    Check the available memory and number of cores before you start the axbuild. It is running quite smoothly when you have 12GB or more memory. If the memory is low, you can consider also reducing the number of workers.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans