【发布时间】:2017-12-18 19:38:12
【问题描述】:
我在 Visual Studio 2017 中有一个 AspNet MVC 项目,该项目之前是在 Visual Studio 2015 中开发的。该项目包含许多 rdlc 文件,在我编辑其中一个之前,它们都运行良好。现在,当我尝试从已编辑的 rdlc 下载 pdf 时,出现此错误:
此报告的定义无效或不受此支持 报告服务的版本。报告定义可能是 使用更高版本的 Reporting Services 创建的,或包含内容 根据 Reporting Services 格式不正确或无效 模式。详细信息:报告定义的目标无效 命名空间 'http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition' 无法升级。
编辑的 rdlc 将其命名空间从 http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition 更改为 http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition
该项目使用 net framework 4.6.2 运行,并且已安装 Microsoft.ReportViewer.Runtime.Common.12.0.2402.15 和 Microsoft.ReportViewer。 Runtime.WebForms.12.0.2402.15 nuget 包
【问题讨论】:
标签: c# asp.net-mvc visual-studio-2017 rdlc