I need some help with the following problem:
I've been using a MS ReportViewer component in a website for a while now, but recently I've been getting the error shown below.
The type 'Microsoft.Reporting.WebForms.ReportViewer' exists in both 'c:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\8.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'
Summery Sir,
It's started an app in VS 2005 NET 2.0 / Sql 2005 / RDLC reporting services.
Now I wanted to switch to VS 2008 (to take advantage of NET 3.5). On the same PC. So installed VS 2008 and VWG for net 3.5 - all works ok. I had to install Sql 2008 / RDLC Reporting Services
When I open a report in VS 2008, it is converted to a new format. That's ok.
my aspx this
<%@ Page Language="C#" MasterPageFile="~/M.master" AutoEventWireup="true" CodeFile="Abc.aspx.cs" Inherits="Reports_Abc" Title="Untitled Page" %>
<%@ Register Src="WebUserControl.ascx" TagName="WebUserControl"
TagPrefix="uc1" %>
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Content" Runat="Server">
<uc1:WebUserControl ID="WebUserControl1" runat="server" />
<rsweb:reportviewer id="ReportViewer1" runat="server" width="100%"></rsweb:reportviewer>
</asp:Content>
and
some part of config file
<system.web>
<!--
<httphandlers>
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
validate="false" />
</add></httphandlers>
<compilation debug="true">
<buildproviders>
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</buildproviders>
<assemblies>
<add assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.ReportViewer.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.ReportViewer.WinForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
</assemblies>
</compilation>
</system.web>
pls give any suggession for this problem...?