web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

Microsoft Dynamics AX report viewer control exception workaround

Muhammad Afsar Khan Profile Picture Muhammad Afsar Khan 2,676
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


This was originally posted here.

Comments

*This post is locked for comments