AX 2012 - Compile and CIL Generation errors

AX 2012 - Compile and CIL Generation errors

MCP · Azure DevOpsYour delivery board, readable by an agentMCP · DataverseOne consent, and the data layer opensMCP · Dynamics 365 F&OConnecting F&O to an agent Microsoft hasn’t documented
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!
Previous article← AX 2012: Forms and Tables methods call sequence
Discussion

Ask a question or leave feedback

This is a review interaction. The WordPress version will store, thread and moderate comments.

Thanks — submitted for moderation in this review.
Search the whole site · Ctrl/⌘ + K