web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Issues with Analysis Server - Error executing code: FormRun

(0) ShareShare
ReportReport
Posted on by

Hello there,

I'm having a serious issue with the Analysis Server not even able to open from System Administration --> Setup --> BI--> Analysis Servers or not able to run a Project Analysis Wizard. I get the following error. I tried locating these classes and compiling them, then restarting the AOS server. but it still doesn't work.

Any ideas?

Error executing code: FormRun (data source) has no valid runable code in method 'new'.

Stack trace

(C)\Classes\FormRun\new
(C)\Classes\SysSetupFormRun\new - line 4
(C)\Classes\ClassFactory\formRunClassOnClient - line 10
(C)\Classes\ClassFactory\FormRunClass

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Was that issue resolved?  I have the same exact issue in a development environment.  In all other respects it seems to work fine.  Thanks.

  • Suggested answer
    Brandon George Profile Picture
    2,632 on at

    Alright, so if your sure that you have ran through the following, to the T.: technet.microsoft.com/.../dd309720.aspx

    After that and you still have the above issue, then there are two things you need to do. First go to AOT > Classes > BIAnalysisServicesWizard and compile that class. Next go to AOT > Forms > BIAnalysisServicesWizard.

    You will notice that the class declaration of that form has a red icon - stating a compile error. If you just highlight that form, and click compile - changing nothing - this error should go away. You have to make sure and have everything installed, like AMO, etc. for the machine that will do the project.

    I hope this helps someone in the future.

  • Community Member Profile Picture
    on at

    Someone else can verify if the suggested answer works for them, but in my case I fixed it prior to Brandon's post and what worked was a full compile from system administration>>periodic tasks.

    Keep in mind that will run several hours and will need to be done while no one is using the system.  Also I did the CIL generation which took another couple hours, but in the end that fixed it.  ...another note is before you perform the corrective actions make sure you are launching the AX client from the desktop of the AOS server because similar symptoms may occur if you run it from a regular client even on an unbroken system.

  • Brandon George Profile Picture
    2,632 on at

    Ryan, that makes sense as what you did will do what I suggest. The biggest difference is that I tell you the two specific objects that need to be compiled - and does not take as long.

    A full compile, after having AMO and following the listed procedure would achieve the same end result.

  • Community Member Profile Picture
    on at

    I ran into the same issue, and wanted to add a couple of personal notes as well as an addition:

    1 - the compile has to be run from a SQL server with SSAS as well as the AMO Brandon mentioned

    2 - The error would have been shown up in the error logs from a full compile if not performed on the SQL Server - "Error \Forms\BIAnalysisServicesWizard\Methods\classDeclaration " Syntax Error

    My addition is that you will have to compile the BIAnalysisServicesProjectController Class from a SQL Server as well. There will be a similar compile error if you compile the entire application - "Error \Classes\BIAnalysisServicesProjectController " Syntax Error

    The BIAnalysisServicesProjectController error will be thrown when you attempt to deploy the Cubes.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans