When I open a report in my WPF project once, I get this message with this message when I exit
{"Error while unloading appdomain. (Exception from HRESULT: 0x80131015)"}
Stack trace:
at System.AppDomain.Unload(AppDomain domain) at Microsoft.ReportingServices.RefCountedAppDomain.Dispose() at Microsoft.Reporting.WinForms.LocalReport.ReportRuntimeSetupHandler.ReleaseSandboxAppDomain() at Microsoft.Reporting.WinForms.LocalReport.Dispose() at Microsoft.Reporting.WinForms.ReportInfo.Dispose() at Microsoft.Reporting.WinForms.ReportHierarchy.Clear() at Microsoft.Reporting.WinForms.ReportViewer.Dispose(Boolean disposing) at System.ComponentModel.Component.Finalize()
Is there something I'm doing wrong? I just open the form using windowsFormHost and ReportViewer inside. Do I need to close something before closing my application?
source share