Error when publishing SRS report from Dynamics AX

Posted on 2008-11-19
Last Modified: 2013-11-26
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.

Question by:juselding
    1 Comment

    Accepted Solution

    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

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
    This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now