SQL- win forms. VS2010 ReportViewer Component Version = 9.0.0.0.
:
SQL 2005, = 9.0.0.0 , . , .aspx, , :
Register assembly = "Microsoft.ReportViewer.WebForms, Version = 9.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a" namespace = "Microsoft.Reporting.WebForms" tagprefix = "rsweb"
<form id="foo" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<rsweb:ReportViewer ID="ReportViewer1" runat="server" ProcessingMode="Remote" Width="950px"
Height="600" BorderColor="Gainsboro" BorderStyle="Solid" BorderWidth="1px">
<ServerReport ReportPath="/foo/foo/FooReport"
ReportServerUrl="http://foo/ReportServerSQL2005" />
</rsweb:ReportViewer>
…
, ReportViewer web.conig, VS2010 ReportViewer
.
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
Version = 8.0.0.0 Version = 10.0.0.0 .. Version =, PublicKeyToken =
reportviewer 9.0.0.0 .net .
, .aspx, , VS, "" " Contol - ReportViewer1". , , , .
, , , , 9.0.0.0 , , .
:
http://forums.asp.net/p/1985629/5691326.aspx?VS2010+ReportViewer+with+SQL+2005
However, my application is a .NET 3.5 MVC2 application, but I was still able to get it to output SQL2005 reports after considerable effort.
Ideally, you should upgrade your SQL 2005 reporting services to 2008, however, make sure everything still works by creating a copy / backup first because there is no return. Once you have achieved this, all of the above becomes unnecessary, because for us it was only an interim solution.