[英]The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid
[英]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。
將以下dll添加到/ bin文件夾
展開“文件發布選項”,然后選中“允許此預編譯站點可更新”。
從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.