无法使用我在 visual studio 2017 中使用 visual studio 2015 创建的 rdlc
Cant use rdlc that I created using visual studio 2015 in visual studio 2017
我使用 Visual studio 2015 为 ASP.Net MVC 项目创建了 rdlc 报告,它们运行良好。最近我开始使用 Visual studio 2017,当我尝试在浏览器中打开 rdlc 报告时出现以下错误:
The definition of the report is invalid. The report definition is not valid or supported by this version of Reporting Services. This could be the result of publishing a report definition of a later version of Reporting Services, or that the report definition contains XML that is not well-formed or the XML is not valid based on the Report Definition schema. Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition' which cannot be upgraded.
基于该错误,我意识到 VS2017 将我的 rdlc 命名空间从 2008 年更改为 2016 年,但我不知道如何修复它以使其再次工作。
通过将 ReportViewer 更新到版本 14.0.0.0 并安装 Microsoft.RdlcDesigner 解决。
我使用 Visual studio 2015 为 ASP.Net MVC 项目创建了 rdlc 报告,它们运行良好。最近我开始使用 Visual studio 2017,当我尝试在浏览器中打开 rdlc 报告时出现以下错误:
The definition of the report is invalid. The report definition is not valid or supported by this version of Reporting Services. This could be the result of publishing a report definition of a later version of Reporting Services, or that the report definition contains XML that is not well-formed or the XML is not valid based on the Report Definition schema. Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition' which cannot be upgraded.
基于该错误,我意识到 VS2017 将我的 rdlc 命名空间从 2008 年更改为 2016 年,但我不知道如何修复它以使其再次工作。
通过将 ReportViewer 更新到版本 14.0.0.0 并安装 Microsoft.RdlcDesigner 解决。