【发布时间】:2022-01-18 03:16:25
【问题描述】:
我在尝试从 RDLC 模板创建 PDF 报告时遇到问题。我收到以下错误
1 - "DefinitionInvalidException: The definition of the report 'Reports\rptDeletedCorpCap.rdlc' is invalid"
2 - "ReportProcessingException: 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."
这似乎很容易识别,我使用的 DLL 用于旧版本的报告,但我似乎找不到该 DLL 的更新版本
我正在使用 Microsoft.ReportViewer.WebForms.DLL
的 11.0.2802.16 版本是否有一个简单的修复方法可以让这个 RDLC 与那个 DLL 一起工作,或者是否有人知道一个更新的报告工具可以让我在控制台应用程序中创建 PDF 输出?
【问题讨论】:
标签: c# asp.net reporting-services rdlc