Skip to main content

Notifications

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 752

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

  • Rhushikesh R Profile Picture
    752 on at
    RE: Error during parallel compilation of AxBuild.exe in AX2012R3

    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.

  • Rhushikesh R Profile Picture
    752 on at
    RE: Error during parallel compilation of AxBuild.exe in AX2012R3

    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.

  • Verified answer
    nmaenpaa Profile Picture
    101,158 Moderator on at
    RE: Error during parallel compilation of AxBuild.exe in AX2012R3

    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.

  • Verified answer
    André Arnaud de Calavon Profile Picture
    294,095 Super User 2025 Season 1 on at
    RE: Error during parallel compilation of AxBuild.exe in AX2012R3

    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?

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,095 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans