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)

The CIL generator found errors and could not save the new assembly" in Production server.

(0) ShareShare
ReportReport
Posted on by 30

Dear All,

I am getting CIL error "The CIL generator found errors and could not save the new assembly" in Production server. Can you please let me know how to resolve this issue.

I am very worried because it's in Production server.

Please let me know the best approach.

Thanks!

Arpan Sen

*This post is locked for comments

I have the same question (0)
  • Basheer17 Profile Picture
    2,720 on at

    What is causing the CIL error? Is there any log? Have you done any changes?

  • @rp@n Profile Picture
    30 on at

    Thanks Mohammad,

    Actually i recently came to client side. Before some another vendor is working on that.

    I don't know exactly what happened.

    Can you please suggest me what is the best approach to resolve this issue.

    Thanks!

    Arpan Sen

  • Verified answer
    Basheer17 Profile Picture
    2,720 on at

    Paste the log from Build > Show Last CIL Generation Log, it could help us to understand the issue.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Arpan,

     Please try deleting to old assembly, delete

     axsuresh.blogspot.in/.../a-call-to-microsoft-dynamics-ax.html

        blogs.msdn.microsoft.com/.../how-to-force-complete-cil-recreation-in-ms-dynamics-ax-2012

    the above links may use to delete XPPIL files. before deleting please keep a copy of that files.

    Thanks

    Suresh

  • @rp@n Profile Picture
    30 on at

    Thanks Suresh

  • @rp@n Profile Picture
    30 on at

    Thanks Mohammed

    Can you please let me know from where exactly i am getting "Build > Show Last CIL Generation Log".

    Thanks!

    Arpan Sen

  • Verified answer
    Basheer17 Profile Picture
    2,720 on at

    From the development workspace Build > Show last CIL Log. Or from "C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL\Dynamics.Ax.Application.dll.log" txt file.

  • Suggested answer
    Muthusamy Profile Picture
    4 on at

    Hi,

    Reason, your latest code changes didn't saved or converted to CIL. So, follow the above steps.

    1).Do the Full Compilation through AOT or thorugh Build compile (if you have version Ax2012 R2 cu7 or above).

    2).Generate the FUll CIL. If any errors in the full compilation solve the error and then generate Full CIL.

    Thanks.

  • @rp@n Profile Picture
    30 on at

    Thanks Muthuswamy

  • Basheer17 Profile Picture
    2,720 on at

    Hi Arpan,

    Hope you have resolved this issue :) What caused this issue? How did you resolve it?

    Thanks

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