in

Dot Net Mafia

Group site for developer blogs dealing with (usually) .NET, SharePoint 2013, SharePoint 2010, Office 365, SharePoint Online, and other Microsoft products, as well as some discussion of general programming related concepts.

This Blog

Syndication

Archives

Corey Roth [MVP]

A SharePoint MVP bringing you the latest time saving tips for SharePoint 2013, SharePoint 2010, Office 365, SharePoint Online, MOSS 2007, ASP.NET, LINQ, and Visual Studio 2012.

Deploying Applications with the ReportViewer Control

If you deploy an application that uses the ReportViewer control, you may find that you get an error like the following.

Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

A quick look at the gac folder (C:\Windows\Assembly) will quickly review that the necessary reporting controls are not present. This is because the controls are installed by VS2005, and not the framework.

To resolve this problem, simply go download the Reporting Services redistributable and install it on your server. This registers the necessary DLLs in the GAC to allow your ReportViewer controls to work.

Microsoft Report Viewer Redistributable

Read the complete post at http://www.dotnettipoftheday.com/blog.aspx?id=309

2012 dotnetmafia.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems