加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

asp.net – 移动到新服务器后报告查看器问题

发布时间:2020-12-16 09:56:42 所属栏目:asp.Net 来源:网络整理
导读:我刚刚将一个站点从 Windows 2003,IIS6 SQL 2005服务器移动到Windows 2008,IIS7和SQL 2008的新站点. 我在使用Report Viewer时遇到问题. 我安装了Report Viewer Re-distributable(我试过2005,2005sp,2008和2008sp) 我在IIS中映射了一个处理程序 Reserved.Repo
我刚刚将一个站点从 Windows 2003,IIS6 SQL 2005服务器移动到Windows 2008,IIS7和SQL 2008的新站点.

我在使用Report Viewer时遇到问题.
我安装了Report Viewer Re-distributable(我试过2005,2005sp,2008和2008sp)
我在IIS中映射了一个处理程序

Reserved.ReportViewerWebControl.axd

输入

Microsoft.Reporting.WebForms.HttpHandler,
Microsoft.ReportViewer.WebForms,
Version=8.0.0.0,Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a

但是每当我在网站上运行报告时,都会收到以下错误消息:

Could not load type ‘Microsoft.Reporting.Microsoft.Reporting.WebForms.HttpHandler’ from assembly ‘Microsoft.ReportViewer.WebForms,Version=9.0.0.0,PublicKeyToken=b03f5f7f11d50a3a’.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.TypeLoadException: Could not load type ‘Microsoft.Reporting.Microsoft.Reporting.WebForms.HttpHandler’ from assembly ‘Microsoft.ReportViewer.WebForms,PublicKeyToken=b03f5f7f11d50a3a’.

我很难过.有任何想法吗?

解决方法

我认为您需要映射到版本9.0.0.0而不是8.0.0.0

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读