繁体   English   中英

此版本的Reporting Services无效或不支持此报告的定义

[英]The definition of this report is not valid or supported by this version of Reporting Services

我在ASP.Net Web Application使用RDLC报告。 在开发版本中,我的Reports可以完美运行,但是当我将其部署到服务器上的IIS时,出现以下错误。

我检查了报表查看器的版本,相同...

“ /”应用程序中的服务器错误。

此版本的Reporting Services无效或不支持此报告的定义。 报表定义可能是使用更高版本的Reporting Services创建的,或者包含基于Reporting Services架构格式不正确或无效的内容。 详细信息:根级别的数据无效。 第1行,位置1。

图片

  1. 将以下dll添加到/ bin文件夹

    • Microsoft.ReportViewer.Common.dll
    • Microsoft.ReportViewer.ProcessingObjectModel.dll
    • Microsoft.ReportViewer.WebForms.dll
  2. 展开“文件发布选项”,然后选中“允许此预编译站点可更新”。

从Web.config中删除以下行:

<buildProviders>
  <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91" />
</buildProviders>

暂无
暂无

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

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