I’ve run into this problem several times, and it hit me again today. Let’s say you’ve got a Business Portal environment setup, and you’ve deployed the SSRS reports. This is a great way to get some nice dashboards in your BP environment. However, when you browse to any of the center pages in BP that have a dashboard on the center’s home page, you get the following error:
“Error: An Unexpected Error Has Occurred”
This error message comes complete with a correlation ID. If you check the SharePoint logs, the correlation ID really doesn’t tell us much about the error. This error is tied to a line in the web.config file that needs to be commented out. It’s a pretty easy fix.
- On the BP server, browse to the virtual directory folder (C:\inetpub\wwwroot\wss\VirtualDirectories\<port>).
- Edit the web.config file (Notepad works best for this).
- Find the following line:
-
<add key="ReportViewerMessages" value="Microsoft.SharePoint.Portal.Analytics.UI.ReportViewerMessages, Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
- Comment that line out, by adding a ‘<!–‘ to the beginning and a ‘–>’ to the end, like this:
-
<!--<add key="ReportViewerMessages" value="Microsoft.SharePoint.Portal.Analytics.UI.ReportViewerMessages, Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />-->
- Close and save the web.config file, and run an IIS reset on the server.
Now you should be good to launch Business Portal and check your center pages and see if the reports display properly for you. As always, remember to make a backup of the web.config file before modifying anything in it!