Error: “The CIL generator found errors and could not save the new assembly.”
Updated: April 19, 2016.
Error: When run full or incremental CIL , system showing below error
“The CIL generator found errors and could not save the new assembly.”
Possible reason: This might be CIL generation issue.
Step I: Stop AX services
Step II: Delete all isolated files from below path (Please Note: Delete only files which are not in any folder)
C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL directory
Step III: Start AX service
Step IV: Synch DataDictonary
Step V: Full Compile
Step VI: Full CIL Compile
Note: These all operation must be perform in the same sequence. (I also tried this only :P )
Now try to reopen you AX client. It should be work.
Update: April 19, 2016
You can rename the exist folder (e.g. XPPIL_BackUp12042016) and than start your AOS and do a full CIL. Its more effective than deleting only outer files.