issues with reports!

Hey Guys,

I just got into a new Ax instance (developer) and I cannot open any reports. When I try to Open any reports i get an error!

Error while setting server report parameters. Error message: Failed to load expression host assembly. Details: Could not load file or assembly ‘Microsoft.Dynamics.Framework.Metadata.AX, Version=6.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified. (rsErrorLoadingExprHostAssembly)

So i deployed one of the reports manually and that particular report worked! So my question is how do I deploy all the reports?

I figured this out!

– Go to: Start > Administrative Tools > Microsoft Dynamics AX 2012 Management Shell

– Then enter Publish-AXReport -ReportName *

Al the reports will be deployed!

very well Explained!

https://axatoz.wordpress.com/2013/12/10/how-to-deploy-all-ax2012-report/

If you can mention the AX version- R2 or R3, it will be better to explain the cause of this issue. This error occurs when report is not published properly.