[英]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.