Alfasith AX

Alfasith AX
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا

Sunday, February 9, 2014

The CIL generator found errors and could not save the new assembly

Hi,

Solution to solve this error,

So, how do we fix this problem?

Step 1: Stop the AOS

Atep 2: Delete all of the source in the C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL directory

When you do this, just delete all the files within the XppIL folder that are outside of other folders. Make a backup just in case, and the files would be generated while the full compilation is taking place



Step 3: Start the AOS




Step 3: Perform a full compile (it will not work without doing this)



Step 4: Perform a full CIL generation



 The drawback of this fix is that it takes a long time to complete. However, this fixes the issue, which is the desired outcome, and the services deployment and incremental CIL compilations moving forward would be error free.

As you can see, the service was deployed correctly and if I opened my inbound port I'll see it there.
  


UPDATE:

After a FULL CIL compilation some time you will get the following errors:



AOT > Class> ReleaseUpdateDB41_Basic




I just went to the object in question and compiled them separately.





The outcome would correctly compiled all the artifacts, including my new service gorup. 




Regards,



No comments:

Post a Comment

How find size of recordsortedlist in D365/AX 2012

Hi, This is the continuity of the previous article where we are now getting the size of recordsortedlist . if(recordsortedlist.len() >1) ...