Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

CIL Generation error message

(0) ShareShare
ReportReport
Posted on by
Dears,
When running Generate Incremental CIL I am facing the following error:
The CIL generator found errors and could not save the new assembly.
 
Deleting the XPPIL files did not fix the issue and from the logs i see the following error message
 
System.Xml.XmlException: An error occurred while parsing EntityName. Line 72263, position 300.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseEntityName()
   at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)
   at System.Xml.XmlTextReaderImpl.ParseAttributes()
   at System.Xml.XmlTextReaderImpl.ParseElement()
   at System.Xml.XmlTextReaderImpl.ParseElementContent()
   at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   at System.Xml.XmlLoader.ReadCurrentNode(XmlDocument doc, XmlReader reader)
   at System.Xml.XmlDocument.ReadNode(XmlReader reader)
   at Microsoft.Dynamics.Ax.Xpp.ILGenerator.GenerateXppModule()
The CIL generator found errors and could not save the new assembly.
Errors: 1
Warnings: 0

Please advise
  • Martin Dráb Profile Picture
    Martin Dráb 231,493 Most Valuable Professional on at
    CIL Generation error message
    It seems you're talking about AX 2012.
     
    First of all, didn't you forget to compile X++ before trying to generate CIL?
     
    You mentioned that you get it with the incremental build. Please try the full build.
     
    Do you what code has changed since the last successful build? Is there something related to entities? Your version control system may give you the answer.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans