Microsoft Dynamics AX Support

This blog contains posts by the Microsoft Dynamics AX Support teams Worldwide

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

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

Rate This
  • Comments 2

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. To download the SQL AMO Objects see http://technet.microsoft.com/en-us/library/gg731842.aspx

 

 

Leave a Comment
  • Please add 5 and 1 and type the answer here:
  • Post
  • Hi,

    We have installed Reporting Service Extentions on the SQL server, which also have the AMO objects installed.

    I've double checked the existence of the DLL's in the directoies you mentioned, but we still get the errors:

    Error executing code: SysStartupCmdGenerateSsasProject (object) has no valid runable code in method 'buildProject'.

    Error executing code: SysStartupCmdGenerateSsasProject (object) has no valid runable code in method 'buildProject'.

    Any ideas?

  • Jørgen - the key to correcting these errors is that you will need to do a recompile of the application from a client machine that has the AMO objects installed. This can be done by installing a Microsoft Dynamics AX client on your SQL Server box where those components are loaded or by installing the Reporting Extensions and SQL AMO objects on any of your other client machines and then performing a full compile and CIL generation. The compile and CIL generation will take considerable time, so please plan accordingly.

Page 1 of 1 (2 items)