Skip to main content What is Dynamics 365? Guided tours Customer stories Try our products CRM ERP Sales Service Sales Customer Insights Customer Service Contact Center Field Service Supply Chain Management Commerce Finance Project Operations Human Resources Business Central Pricing Business application topics Training & certifications Migrate to the cloud Documentation Events Dynamics 365 Blog Product updates Onboarding and implementation Community Find a partner Software Development Companies Partner resources Microsoft Marketplace Product documentation Technical support On-premises product support Contact us Try for free Sign in
  • 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. 

Get started with Dynamics 365

Drive more efficiency, reduce costs, and create a hyperconnected business that links people, data, and processes across your organization—enabling every team to quickly adapt and innovate.