您尝试使用未为此报告注册的渲染扩展插件

sit*_*chu 3 reporting-services wonderware

我尝试自动生成报告,我使用 Wonderware archestra。但当我想生成并保存报告时遇到这个问题:

Exception in GenerateReport: System.Web.Services.Protocols.SoapException: You have attempted to use a rendering extension that is either not registered for this report server or it is not supported in this edition of Reporting Services. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: You have attempted to use a rendering extension that is either not registered for this report server or it is not supported in this edition of Reporting Services. at Microsoft.ReportingServices.Library.ReportExecution2005Impl.InternalRender(String Format, String DeviceInfo, PageCountMode pageCountMode, Stream& Result, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds) at Microsoft.ReportingServices.Library.ReportExecution2005Impl.Render(String Format, String DeviceInfo, PageCountMode pageCountMode, Byte[]& Result, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds) at Microsoft.ReportingServices.WebServer.ReportExecutionService.Render(String Format, String DeviceInfo, Byte[]& Result, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds)

in my report i have parameters , 2 DateTime , 1 intger and 1 String ( sorry for my bad english ) if someone can help me to result my problem , i'll be thanksful

小智 6

我知道这是一个过时的问题,但它有很多观点,也许其他正在寻找类似问题解决方案的人会发现我的答案很有帮助。我已经为这个错误苦苦挣扎了一段时间。

介绍

Rendering extensions用于报告演示。它是报表服务器的一个组件或模块,用于将报表数据和布局信息转换为设备特定的格式。

SQL Server Reporting Services 包含一些呈现扩展:

  • 超文本标记语言
  • Excel
  • 单词
  • CSV
  • 文本
  • XML
  • 图像
  • PDF

要确定哪些渲染扩展可用,您可以查看 RSReportServer.config 文件中已安装的扩展的列表。就我而言,该文件位于下面C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER14\Reporting Services\ReportServer并且安装了大部分扩展。

在此输入图像描述

问题描述及解决方案

就我而言,SSRS 报告生成有效。然而在我客户的机器上却没有。我们使用EXCELOPENXML. 我的客户端配置中没有条目EXCELOPENXML。我设法发现这个扩展是 SQL Server 2012 中的新扩展,而我的客户端使用版本 2008 R2 -这就是原因- 就像错误所示attempted to use a rendering extension that is either not registered for this report server or it is not supported in this edition of Reporting Services

EXCELOPENXML - Reporting Services Excel 呈现扩展是 SQL Server 2012 中的新增功能,可将报表呈现为与 Microsoft Excel 2007-2010 以及 Microsoft Excel 2003(带有适用于 Word、Excel 和 PowerPoint 的 Microsoft Office 兼容包)兼容的 Excel 文档安装。格式为 Office Open XML,文件扩展名为 XLSX。

我的案例的解决方案是将报告格式从EXCELOPENXML较旧的渲染格式更改为较旧的渲染格式Excel