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)

Compilation with AxBuild fails after installing Kernel update

(0) ShareShare
ReportReport
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

I have the same question (0)
  • nmaenpaa Profile Picture
    101,162 Moderator on at

    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.

  • Marc Puig G. Profile Picture
    5 on at

    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.

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