·
1 min read

Compile and CIL Generation errors when reporting extensions is not installed.

Under certain circumstances, you may receive the following
compile or CIL generation errors when installing Microsoft Dynamics AX 2012.

SysStartupCmdGenerateSsasProject (object) has no valid
runable code in method ‘buildProject’.

BIGenerator (object) has no valid runable code in method
‘classDeclaration’.

BIAnalysisServicesProjectController (object) has no valid
runable code in method ‘buildProject’.

These methods are related to the Microsoft.Dynamics.AX.Framework.Analytics.DLL and is installed with Reporting Extensions and is installed to by default:

C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin

In addition this DLL may call into the some of the Microsoft SQL server (SSRS) DLLs Microsoft.AnalysisServices which is installed to C:\windows\assemby

In order to fix the problem, run the compile and CIL generation from a machine, where these components are installed and ensure that the SQL AMO objects are also installed.