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,



Wednesday, February 5, 2014

Clear password history in windows server

Hi,

In server OS it can be either 2008 or 2012 or may be 2013 its impossible to clear the history of password which are stored in ADDS.

regards,

How to invoke and iterate List as Contract methods in AX 2012/ D365

Hi, Public void performContractIterate(ClassContainsListAsContract    _ListCarryClass) { List contractFieldList = new List(Types::Class); ...