Friday, January 10, 2014

AX 2012 - CIL Compilation ISSUES

Hi All
Sometimes CIL Compilation take a lot of time and sometime freeze.

Often this occur because there are some batch running or some users that are running some process that use CIL Objects, etc.

In these situation, the DLL are locked and so CIL go in hang.

The best practices about CIL Compilation, is execute in a non-peak hour because during CIL Compilation AIF Services are stopped, so :
1-      SSRS Report doesn’t work

2-      Office Add-in doesn’t work

3-      Eventually Custom Services ( Integration with WMS, integration with some Web sites, etc. ) doesn’t work


Tuesday, January 7, 2014

AX 2012 - Error while setting server report parameters. Error message: The permissions granted to user xxxx

Hi All

When you install the SSRS reports, usually you assign the permission “DynamicsAXBrowser” on folder Dynamics for the AX Users.

Take care, assign the same permission also to the folder StaticReports to avoid permission issues.


AX 2012 - Call a Class\Method in CIL


Below the code for call a Class\Method in CIL :

    container               conparm;
    XppILExecutePermission  ilPermission;
    ilPermission = new XppILExecutePermission();