0

Dear All,
I am working on an existing web application trying to integrate reports. The application was developed with the 2.0 Framework. I converted it to 3.5 since I could not use the ReportViewer with the 2.0. Trouble I get a lot of errors. What can I do? Does anybody have an idea on how to solve these errors? Thanks!!!
GNL


Error 179 The type 'Microsoft.Reporting.WebForms.ReportViewer' exists in both 'c:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\10.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WebForms.dll' and 'c:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\9.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WebForms.dll' C:\ecrf-2.2\deployed\test_a\ReportRdlcViewer.aspx 12


Error 180 The type 'Microsoft.Reporting.WebForms.ReportViewer' exists in both 'c:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\10.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WebForms.dll' and 'c:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\9.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WebForms.dll' c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\test_a\a52deb33\b2c22986\App_Web_5240vz2x.4.cs


Error 181 The type 'Microsoft.Reporting.WebForms.ReportViewer' exists in both 'c:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\10.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WebForms.dll' and 'c:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\9.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WebForms.dll' C:\ecrf-2.2\deployed\test_a\Report.aspx 14

Error 182 The type 'Microsoft.Reporting.WebForms.LocalReport' exists in both 'c:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\10.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WebForms.dll' and 'c:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\9.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WebForms.dll' c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\test_a\a52deb33\b2c22986\App_Web_5240vz2x.0.cs

Error 183 The type 'Microsoft.Reporting.WebForms.ReportViewer' exists in both 'c:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\10.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WebForms.dll' and 'c:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\9.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WebForms.dll' c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\test_a\a52deb33\b2c22986\App_Web_5240vz2x.0.cs

3
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by gnl74
0

Hi,

Check if the web.config file has references to both 10.0.0.0 and 9.0.0.0 versions of ReportViewer control. If it contains, remove the unwanted version details and try again.

Create a new website/web application, add reference to the appropriate version of ReportViewer control and take a look at the entries that are created in the web.config. Update the same in the web.config of your existing web application.

0

Hi!

I tried fiddling with references in the web.config : to no avail.

A new web application works fine with reports: the trouble is with the existing one I have to modify.

I am actually thinking of the following solution: create a brand new web application and go from the
first one to the second one through some link with cross site authentication (have to study how it works...)

Edited by gnl74: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.