CIL generation fails on installation

 

Hello all,

 

Today i started with a fresh installation of AX 2012 R3 with CU9 slipstream.After installation,when i started with initiallization checklist

1.COMPILE APPLICATION finished with no errors.

2.Compile into .NET framework CIL i got error stating

 

"CIL Generation.The Given Key was not present in the dictionary  \XppIL   Er:351

             Error when loading the method type PayrollPayStatementTaxLine Method : Insert"

 

I checked by stopping the AOS and deleted the file in the directory

" C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL"

and started the AOS and run a FULL COMPILE.

 

But could not resolve the error.

 

Anyone faced this issue and is there any solution to this issue?

 

Thanks

Manikandan. 

  • Try Below steps
    1. Check the CIL log file, generally located at "C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL\Dynamics.Ax.Application.dll.log"
    2. You will find the AOT object for which the CIL generator found the error.
    3. Compile that object, fix the error, or delete (if needed) and then regenerate the full CIL.
    4. if errors are still there than
    Stop AOS > Delete the .auc file from users\\Appdata folder > Restart AOS)
  • Compile the object which is giving the error and give another try.
  • Hi Manikandan, did you find any solution for this? I have the same problem with CU12 and the solutions posted don't worked
Related
Recommended