I recently upgraded my n-tier solution from .NET 3.5 vs 2008 to 4.5 visual studio 2012. Every thing went fine apart from crystal reports and I had to install new runtime crystal reports for visual studio 2012 from the following link http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_5.exe.
After installing the above package I had to resolve some deprecated function and properties of
CrystalViewer and after that reports rendering properly in development environment (Windows 7 64 bit, SQL Server 2005, Visual Studio 2012). When I deployed the package in test environment windows server 2008 R2
the Application failed to load by throwing error
Could not load file or assembly Microsoft.ReportViewer.WebForms, Version=11

  1. Microsoft Report Viewer 10.0.0.0
  2. Install Microsoft.reportviewer.webforms
  3. Install Microsoft Reportviewer Webforms 9.0.0.0 Mac
  4. Install Microsoft Reportviewer Webforms 9.0.0.0 Download
  5. Install Microsoft Reportviewer Webforms 9.0.0.0 Windows 10
  6. Install Microsoft Reportviewer Webforms 9.0.0.0 2019

I managed to resolve ReportViewer.WebForms error by copying the DLL
from C:Program Files (x86)Microsoft Visual Studio 11.0ReportViewer to bin folder of solution and set property copylocal = true and deployed the package. After that I received the error Could not load file or assembly ‘Microsoft.ReportViewer.Common, Version=11.0.0.0 . I tried to search that DLL on my machine but couldn’t. when project is running in visual studio, In Debug-> Windows->Module the file is not listed however in global assembly cache that file is installed but I don’t know how its installed to global cache and from where . I found one solution that I had to install ReportViewer.msi from microsoft package but if i install this package it asks me to install SQL Server 2012 which I dont wan’t. Could any one help me to resolve this issue. Thanks

  • Download and install Microsoft.ReportViewer.WinForms.dll to fix missing or corrupted dll errors. Developer Microsoft Corporation Product Microsoft SQL Server Description Microsoft.ReportViewer.WinForms.dll Filename Microsoft.ReportViewer.WinForms.dll Version 15.0.900.148 MD5.
  • The problem is 'Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.' In the web.config. For your information i was installed.NET Framework 3.5 because I am using visual studio 2008.

By downloading and running these Report Viewer Redistributable Package setup applications, the Microsoft.ReportViewer assemblies will be installed. You can view the installed asseblies by this method at Global Assembly Cache folder C:WINNTassembly and check for Microsoft.ReportViewer.WebForms for example. You should see the Microsoft.ReportViewer.WebForms with version 8.0.0.0 or 9.0.0.0. System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.ReportViewer.WinForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. CD C: Windows assembly GACMSIL Microsoft.ReportViewer.WebForms If you run the command 'dir' here you will find two folders These are the two versions of Report Viewer for both visual studio 2005 and 2008, 8.0.0.0 for VS 2005 and 9.0.0.0 for VS 2008.

Answers:

You can install the Microsoft Report Viewer 2012 Runtime and change your references so they point to the ones installed by the runtime.

I have installed the runtime without it asking for SQL Server 2012. Before installing try uninstalling any previous versions of report viewer.

Answers:

Dont know if this is good to anyone, but search all these dlls:

  • Microsoft.ReportViewer.Common.dll
  • Microsoft.ReportViewer.ProcessingObjectModel.dll
  • Microsoft.ReportViewer.WebForms.dll
  • Microsoft.ReportViewer.WinForms.dll
  • Microsoft.ReportViewer.DataVisualization.dll

You find them in C:WindowsassemblyGAC_MSIL..., and then put them in the references of your project.

For each of them say: local copy, and check for 32 or 64 bit solution.

Answers:

As Microsoft.ReportViewer.2012.Runtime has Microsoft.ReportViewer.WebForms, Microsoft.ReportViewer.Common and Microsoft.ReportViewer.ProcessingObjectModel libraries, just run this command on PM Console:

Install-Package Microsoft.ReportViewer.2012.Runtime

Note : If you want to completely remove the old Microsoft.ReportViewer.xxx references, you can remove them from Manage NuGet Packages>Installed Packages menu and then remove the related lines from packages.config file in your project. After that it will not comeback again during building of the project.

Hope this helps…

Answers:
Questions:

Could not load file or assembly ‘Microsoft.ReportViewer.Webforms’
or

Install Microsoft Reportviewer Webforms 9.0.0.0Reportviewer

Could not load file or assembly ‘Microsoft.ReportViewer.Common’

This issue occured for me in Visual studio 2015.

Reason:

the reference for Microsoft.ReportViewer.Webforms dll is missing.

Possible Fix

Step1:

To add “Microsoft.ReportViewer.Webforms.dll” to the solution.

Navigate to Nuget Package Manager Console as

“Tools–>NugetPackageManager–>Package Manager Console”.

Then enter the following command in console as below

PM>Install-Package Microsoft.ReportViewer.Runtime.WebForms

Then it will install the Reportviewer.webforms dll in “..packagesMicrosoft.ReportViewer.Runtime.WebForms.12.0.2402.15lib” (Your project folder path)

and ReportViewer.Runtime.Common dll in “..packagesMicrosoft.ReportViewer.Runtime.Common.12.0.2402.15lib”. (Your project folder path)

Install Microsoft Reportviewer Webforms 9.0.0.0

Step2:-

Remove the existing reference of “Microsoft.ReportViewer.WebForms”.
we need to refer these dll files in our Solution as “Right click Solution >References–>Add reference–>browse “.
Add both the dll files from the above paths.

Step3:

Change the web.Config File to point out to Visual Studio 2015.
comment out both the Microsoft.ReportViewer.WebForms and Microsoft.ReportViewer.Common version 11.0.0.0 and Uncomment both the Microsoft.ReportViewer.WebForms and Microsoft.ReportViewer.Common Version=12.0.0.0. as attached in screenshot.

Also refer the link below.

Answers:

Simply install Microsot.ReportViewer.2012.Runtime nuget package as shown in this answer https://stackoverflow.com/a/33014040/2198830

Answers:

Add Microsot.ReportViewer 2010 or 2012 in prerequisite of setup project then it first install Report Viewer if it’s not present in “C:WindowsassemblyGAC_MSIL…” and after installing, it installs set up project

Answers:

I Had the same problem.

The solution for me is:

You must have the same version of: Microsoft.ReportViewer.ProcessingObjectModel registred in C:WindowsassemblyGAC_MSILMicrosoft.ReportViewer.ProcessingObjectModel,
like you have registraded in web.config in developer server:
enter image description here

In my case i was only registred the 13. version in my prodution server and i have the 12. version in developer server.

the solution is install the version 12. in the prodution server too

the version 12. :

Then now i have the version 12. in the prodution and the report work fine.

*** Remember to reset your IIS after instalation

Answers:

I resolved this problem, searching the dll’s file in C:WindowsassemblyGAC_MSIL and copied to bin directory of the proyect deployed. That work for me.

Answers:

In my case, the ‘Microsoft.ReportViewer.Common.dll’ assembly is not required for my project, so I simply removed all references (Project -> Add Reference… -> …) (all requirements from Publish tab the VS2013 removed automatically) and all works properly.

Tags: file, view

When I was running a Report I was getting the following Error.
An error occurred during local report processing.
The definition of the report 'Main Report' is invalid.
The report definition is not valid. Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition' which cannot be upgraded.
Actually the report was developed in VS 2008 and now, I am trying to access the report in VS2010 then I was getting this Error.

First go to web.config and modified the following lines.

As follows.
And click on Ok button.
<assemblies>
<addassembly='Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A'/>

<addverb='*'
Microsoft
'Microsoft.Reporting.WebForms.HttpHandler,
Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a' />

<handlers>

Microsoft Report Viewer 10.0.0.0

name='ReportViewerWebControlHandler'preCondition='integratedMode'
verb='*'path='Reserved.ReportViewerWebControl.axd'
Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral,

Install Microsoft.reportviewer.webforms

</handlers>

Install Microsoft Reportviewer Webforms 9.0.0.0 Mac

And go to the Report page and modified the following lines of code.

Install Microsoft Reportviewer Webforms 9.0.0.0 Download

<%--<%@ Register Assembly='Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' Namespace='Microsoft.Reporting.WebForms' TagPrefix='rsweb' %>--%>
<%@RegisterAssembly='Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
Namespace='Microsoft.Reporting.WebForms'TagPrefix='rsweb'%>

Install Microsoft Reportviewer Webforms 9.0.0.0 Windows 10


Install Microsoft Reportviewer Webforms 9.0.0.0 2019