Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 617
  • Last Modified:

Error when publishing SRS report from Dynamics AX

We are writing some SRS reports for AX 2009.  We are creating these reports using Visual Studio 2008 and then uploading them to Microsoft Dynamics AX 2009.  From there, we are attempting to publish these reports from within AX.  When we run the deployment to SQL Server 2005, it appears to run, but the reports do not show up on the report server.

Digging a little further, I took a look at the log file from the install.  There was only one error that I could see in the entire log file.

.CannotUnloadAppDomainException: Error while unloading appdomain. (Exception from HRESULT: 0x80131015)
   at System.AppDomain.Unload(AppDomain domain)
   at Microsoft.Dynamics.Framework.Deployment.Reports.ReportLibraryDeployer.DeployInTempDomain(IEnumerable`1 reportLibrariesToDeploy, IEnumerable`1 transitiveReferenceClosure, IEnumerable`1 cultures, DeploymentLogger logger, Func`2 connectionStringModifier)

I searched in this forum, as well as the MS Knowledgebase but I can only find some references to writing code on MSDN.  Does anyone have any suggestions for this?  I have attached the full log file for reference.

1 Solution
juseldingAuthor Commented:
Found the error with the report.  The issue was actually with the naming schema of the report.  One of the files has a "10" at the end of the name.  When AX was looking to deploy, it was looking for the name of the report WITHOUT the 10.  I removed that and now all is fixed.


Featured Post

Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now