Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Compilation with AxBuild fails after installing Kernel update

Posted on by 5

Hello,

We've just installed a recent hotfix Kernel version 6.3.6000.8144 KB4492767 (only Kernel update, not Application).

Now, when we use the tool AxBuild to compile full Application it always finishes with these errors, but before installing the hotfix we've been doing the same compilation with AxBuild for about 50 times during a year without any compilation problems:

!!! X++ execution error: Error executing code: Application (object) has no valid runable code in method 'syncApplTables'
!!! X++ execution error: Error executing code: AfDataContainerDescriptors (object) has no valid runable code in method 'createAxdDataContainerMetadata'

 

Compilation-Errors.jpg

We've tried compilation with 8 workers and 2 workers, but we get the same results. If we try compile Application with command "Ax32.exe -startupcmd=kernelcompileall" or with AX Client, it finishes correct with 0 errors, and the same if we do a Full CIL compile.

If we try compiling from AOT the two classes that are mentioned (Application and AfDataContainerDescriptors), 0 errors result also.

It has been also tested on DEV and TEST environments, which have only 1 AOS each, and compilation works fine with AxBuild. It only fails on production environment which has 3 total AOS.

Has anybody found this situation or a similar situation before?

Thanks in advance.

*This post is locked for comments

  • Marc Puig G. Profile Picture
    Marc Puig G. 5 on at
    RE: Compilation with AxBuild fails after installing Kernel update

    Hi Nikolaos, thank you for your answer.

    I've just compared AxBuild version between environments, they match, also compared other exe/dll files updated by the hotfix.

    We are not always able to prepare a model to upload, that's why sometimes we upload a single xpo file when we need just to update a piece of code using compare tool with one single AOS started, then compile and compile CIL. But I've never seen before any error of this type involving class "Application". The error starts to appear in the "Live" Log (shown on cmd) after the first 3-4 passes, when the compiler starts compiling Services.

  • nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Compilation with AxBuild fails after installing Kernel update

    Maybe you forgot to apply the kernel update to some components, such as the dev tools. Please compare the versions between environments.

    Anyway you should do prod delivery by modelstore, in which case you never even need to build in prod.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans