Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

CIL Generation error message

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 230,149 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans