web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Compilation troubles

(0) ShareShare
ReportReport
Posted on by

i had an issue with compilation yesterday .. i tried to compile all classes but the system stopped before finishing the compilation .. which is causing so many errors now most of reports don't work .. how can i compile all classes across the ax system .. ax is runnig across 3 servers ..  i sopped services in server 01 before doing the compilation on the same server .. should i stop services in all servers before doing the compilation ..or should i do full aot compilation .. pleas help 

*This post is locked for comments

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

    You should stop all but 1 AOS before compiling. And then compile the whole AOT. And finally generate full CIL.

    You should use axbuild.exe to compile the x++ code (this uses parallelism, whereas the compilation from AX client uses only one thread and takes long time): docs.microsoft.com/.../axbuild-exe-for-parallel-compile-on-aos-of-x-to-p-code

    Please let us know more details if you still have issues.

  • Community Member Profile Picture
    on at

    thank you Nikolas .. i did as you described above  i got some errors and after resolving them .. i repeated the cil  .. now after completing the cil  reports do open but the dont fetch data (i get empty reports )  or error (no report data table with name..........) ..tried to restart reporting services and clearing cache  and usage data but also reports are not working

  • Suggested answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    First, synchronize the database.

    You could try to redeploy the reports.

    You mention error "no report data table with name...". Did you check if such table exists or not?

  • Community Member Profile Picture
    on at

    did all that .. after cil or synchronize  the report will open .. but no data .. after deployment  i get (Parameter _reportName cannot be null or empty.) and when i compile classes the errors go away .. then i rebuild and deployed the report  .. and know something changed the report parameter  i get 4 fields to enter (from - to )dates  instead of two ... strange case

  • Community Member Profile Picture
    on at

    it worked after rebooting AOS servers  thank you nikolaos

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Basit Profile Picture

Basit 1

#1
GL-01081504-0 Profile Picture

GL-01081504-0 1

#1
Roya Profile Picture

Roya 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans