Lets Have a fun with Technology.

BTemplates.com

Follow by Email

Friday, October 24, 2014

Could not load file or assembly 'Microsoft.Reportviewer.Winforms Version=8.0.0.0” while generating Report


Solution :- 

Application have a this error when some files which require to run report viewer are missing.
There are two important files which needs to be on production environment to run report successfully.

Microsoft.ReportViewer.Common.dll
Microsoft.ReportViewer.WinForms.dll

For WebApplication Error Application needs below two dll's.
Microsoft.ReportViewer.Common.dll
Microsoft.ReportViewer.WebForms.dll

To resolve this install the ReportViewer Redistributable component from one of the following locations:

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=21916 (Visual Studio 2005 components)

or

http://www.microsoft.com/download/en/details.aspx?id=6576 (Visual Studio 2008 components)

Other way to get this redistributable.

C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\ReportViewer\ReportViewer.exe

Install this and you all set to run reportviewer.

0 comments:

Post a Comment