繁体   English   中英

使用 SSRS 2017 RDLC 文件创建本地 PDF 报告

[英]Creating Local PDF Report using SSRS 2017 RDLC file

尝试从 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 output

对于遇到此问题的任何人,我都可以通过下载 package Microsoft.ReportViewer.WinForms v15来解决它。 这是最新的并且与 2016 模式兼容,并允许我生成我的 PDF :)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM