Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

Error during parallel compilation of AxBuild.exe in AX2012R3

Posted on by 742

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
    Rhushikesh R 742 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
    Rhushikesh R 742 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
    nmaenpaa 101,148 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
    André Arnaud de Cal... 288,459 Super User 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?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,459 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,783 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans