cloud.net

Monday, June 16, 2008

Report Server - SharePoint: IReportViewerMessages or could not be found

If you have Report Server running in a virtual directory under a SharePoint web app.

Error: The type Microsoft.SharePoint.Portal.Analytics.UI.ReportViewerMessages, Microsoft.SharePoint.Portal, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c does not implement IReportViewerMessages or could not be found.

Cause: Look in your SharePoint web.config file you'll see
<add key="ReportViewerMessages" value="Microsoft.SharePoint.Portal.Analytics.UI.ReportViewerMessages, Microsoft.SharePoint.Portal, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />.

Fix: I looked at the Microsoft.SharePoint.Portal.Analytics Namespace and couldn't find a UI.ReportViewerMessages, so I just removed it from the web.config and I haven't experienced any issues.
You can also remove the setting from your ReportServer web.config's just add:
<appSettings>
 <remove key="ReportViewerMessages" />

</appSettings>

5 comments:

Anonymous said...

you are my hero today!!!

Anonymous said...

Thanks! Worked for me. However have to wonder why setting this all up has to be so hard - taken me days to sort! Microsoft needs to make setup much easier!
Thanks again.

Anonymous said...

Thanks a lot !!!! :)

Anonymous said...

Take a look at _layouts/SPUsageSite.aspx (or similar pages for site usage reports). Are they broken as a result of this?

rayone said...

No, I use the usage pages quite frequently and they work fine with graphs.