【发布时间】:2017-10-07 17:42:44
【问题描述】:
当我从 Visual Studio 2015 Community 升级到 Visual Studio 2017 Community 时,我的 reportviewer 报告中出现以下错误。
Microsoft.Reporting.WinForms.LocalProcessingException: '本地报告处理过程中发生错误。'
内部异常 DefinitionInvalidException: 报告''的定义无效。
【问题讨论】:
-
什么是完整的例外?我怀疑某些 NuGet 包丢失了,检查一下。
-
+ InnerException {"此报表的定义无效或不受此版本的 Reporting Services 支持。报表定义可能是使用更高版本的 Reporting Services 创建的,或者包含的内容不是根据 Reporting Services 架构,格式正确或无效。详细信息:报表定义的目标命名空间“schemas.microsoft.com/sqlserver/reporting/2016/01/…”无效,无法升级。”} System.Exception {Microsoft.ReportingServices.ReportProcessing.ReportProcessingException}
标签: c# reportviewer