If you are facing exceptions in Event Viewer related to Microsoft Dynamics AX report viewer control like:
An unexpected exception occurred in the Microsoft Dynamics AX report viewer control. Contact your system administrator for assistance.
The type 'Microsoft.SharePoint.Portal.Analytics.UI.ReportViewerMessages, Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' could not be found
OR
An unexpected exception occurred in the Microsoft Dynamics AX report viewer control. Contact your system administrator for assistance.
Object reference not set to an instance of an object.
System.NullReferenceException
at Microsoft.Reporting.WebForms.ReportViewer.OnPreRender(EventArgs e)
Here is the simple workaround of these issues:
you have to comment out the ReportViewerMessages line in appSettings section in the report server web.config
So far, I haven’t seen any issues by commenting out this entry.
No comments:
Post a Comment