I have an AspNet MVC project in Visual Studio 2017 that was previously developed in Visual Studio 2015. This project contains a lot of rdlc files that worked fine until I edited one of them. Now when I try to load a PDF file from editable rdlc, I get this error:
The definition of this report is invalid or supported by this version of Reporting Services. The report definition could be created with a later version of Reporting Services or containing content that is not correct or invalid based on the Reporting Services schema. Details: the report definition has an invalid purpose The namespace is ' http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition ' which cannot be updated.
Editable rdlc changes its namespace from http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition to http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition
The project works with net framework 4.6.2 , and it installed Microsoft.ReportViewer.Runtime.Common.12.0.2402.15 and Microsoft.ReportViewer. Runtime.WebForms.12.0.2402.15 nuget packages
, nuget Microsoft.ReportViewer.Runtime.Common Microsoft.ReportViewer.Runtime.WebForms Microsoft.ReportingServices.ReportViewerControl.WebForms.140.340.80. , System.Windows.Forms, ReportDataSource ,
ReportDataSource
rdlc , . , 2017 , SQL-, . , , .