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)

What happends if I Compile or run a CIL when there are users in using Ax?

(0) ShareShare
ReportReport
Posted on by 50

Actually I have some errors in reports from a previous failed compilation and I really need to correct but the users can't stop thier operations.

I need to compile and then I need to run a CIL, what could happend if there are active users in Ax?

*This post is locked for comments

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

    Is this a dev, test or prod environment?

    You should not do that in prod environment.

    If it's a dev/test, you can do it, it will just slow the system down. But the compilation should not fail because of someone being online in the system.

    For prod deliveries you should anyway use modelstore delivery, which means you don't have to do x++ compile or CIL generation in Prod. Instead you do them in staging environment before exporting the modelstore.

  • Heinz Schweda Profile Picture
    1,367 on at

    Hi, from my experience a full CIL-compilation may lead to an unstable system, when other users are online while compiling.

    Kind regards,

    Heinz

  • Tatsuo Profile Picture
    50 on at

    Actually we are running in prod enviroment (I don't know how to use modelstore delivery) and we are in the middle of and very important comercial process and we can't stop and at the same time we have to correct an error in some reports. I know this is not the best practice but it's was an emergency.

    I will investigate about modelstore.

    Thank you for you answer, you saved us.

  • Tatsuo Profile Picture
    50 on at

    Affortunatly we only were running the compilation and we can wait for the CIL when there will are no users. But I take your advice, thank you.

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

    Remember to have only one AOS running when compiling, and especially during CIL generation. All AOS servers fetch the new (CIL) dll files from model database only during startup.

    I still wonder, how did you not notice the compile errors during your last prod delivery? Did you just let users back into the system before your deployment was succesful?

    Anyway, for longer term, please see this whitepaper. It contains info about the modelstore delivery: docs.microsoft.com/.../deploying-customizations-across-microsoft-dynamics-ax-2012-environments-white-paper

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