I searched for the answer and the trial version in half a day. I am using VS2015 and MS SQL SERVER 2008 R2, which were developed in VS2010.
however, an error appears
ASP.NET runtime error: the base class includes the 'ReportViewer1' field, but its type (Microsoft.Reporting.WebForms.ReportViewer) is incompatible with the control type (Microsoft.Reporting.WebForms.ReportViewer). please change the associated registration that is ambiguous and select a new tag prefix
I can not find reportViewer.Webfor.dll v12.0.0.0. I followed the following steps / procedures, ReportViewer is still invalid:
Thanks for the help!
- set ReportViewer 2015 runtime, Viewer 2010 redistributable report package.
- install SQL Server 2015 data tool
in .aspx,
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
in web.config,
<handlers> <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/> </handlers>
john chan
source share