Thursday, May 22, 2014

AX 2012 - Compile and CIL Generation errors

Someone may come across the following compilation errrors in classes while compiling the application;

\Classes\BIGenerator\classDeclaration
\Classes\DMFBIConfigurationEntityClass\classDeclaration
\Classes\SysStartupCmdGenerateSsasProject\buildProject
\Classes\BIAnalysisServicesProjectController\classDeclaration

When I dig into these errors it was related to Microsoft.Dynamics.AX.Framework.Analytics.DLL that is installed with Reporting Extensions.

Fix:
Install the SQL 2008 R2 Analysis Managment Objects (my running version of SQL) on the same machine as the AX Client (in my scenario, the AOS server) . Then recompile!

No comments:

Post a Comment

I will appreciate your comments !

Download large bacpac (sandbox database) to DEV environment much faster

As the LCS website gets slower and slower and the database backups get bigger and bigger.  Use AZCopy to download objects out of LCS asset l...