Under certain circumstances, you may receive the followingcompile or CIL generation errors when installing Microsoft Dynamics AX 2012.
SysStartupCmdGenerateSsasProject (object) has no validrunable code in method 'buildProject'.
BIGenerator (object) has no valid runable code in method'classDeclaration'.
BIAnalysisServicesProjectController (object) has no validrunable 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
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'.
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.