簡體   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