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 :
Finance | Project Operations, Human Resources, ...
Answered

Error during parallel compilation of AxBuild.exe in AX2012R3

(0) ShareShare
ReportReport
Posted on by 758

Hi Everyone,

Need urgent help.

Recently I downloaded and installed KB4035163 on one of my client's AX2012R3 environment.

After successful installation I restarted the AOS and after that tried to Run parallel compilation using below command,

 cd C:\Program Files\Microsoft Dynamics AX\60\Server\MyDevAx2012\bin

and then

axbuild.exe xppcompileall /s=01 /altbin="C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin"

After above command failed, I also tried running just,

axbuild.exe xppcompileall /s=01

But both times I faced below error,

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Please find screenshot of same below. Please suggest some solution as I need to resolve this issue as early as possible and without compilation I cannot proceed further.

In the generated log file I found that there are 6 errors and 59 warnings. How could I identify in this log file errors and warnings separately?

Please find log file screenshot below.

error-CMD.png

3515.log-file.png

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,020 Super User 2025 Season 2 on at

    Hi Rhushikesh,

    You can open a Dynamics AX client, go to the development environment and compile a single object. Then in the output window, you can import the Error log which will then be more readable.

    Have you verified if the system had enough hardware resources to process the AXbuild compilation?

  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    When you installed the KB, did you update all binary components with it? Basically every component except "database" (=modelstore) in AX is a binary component and you need to update all of them when you install binary updates. Perhaps some of your components have mismatching version and that's why you get this error.

    You didn't mention if axbuild.exe worked before this update, did it? Or are you now using it for the first time ever?

    Also, if you open the log file in Internet Explorer, the layout is much nicer and you can locate the errors much easier.

  • Rhushikesh R Profile Picture
    758 on at

    Hi Andre and Nikolaos, thank you for your valuable replies.

    Nikolaos, yes before installing KB updated, my axbuild.exe was working fine and I had never encountered this issue anytime before. And I am able to read log file more comfortably through Internet explorer.

    I will resolve those errors and will update you soon. Thanks again.

  • Rhushikesh R Profile Picture
    758 on at

    Hi Andre and Nikolaos,

    I resolved the errors from error log and started the compilation again. The compilation succeeded after removing errors manually from AX. Thank to both of you as your answers guided me in correct direction.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans