无法加载文件或程序集“Microsoft.ReportViewer.WebForms” [英] Could not load file or assembly 'Microsoft.ReportViewer.WebForms'

查看:805
本文介绍了无法加载文件或程序集“Microsoft.ReportViewer.WebForms”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用asp.net报表查看器,并上传了我的网站。然而,加载包含报表查看器我的网页时,它显示了以下错误:

I am trying to use the report viewer in asp.net and have uploaded my site. However, when my page containing the report viewer is loaded, it shows the following error:

无法加载文件或程序集Microsoft.ReportViewer.WebForms,版本= 11.0.0.0,文化=中性公钥= 89845dcd8080cc91'或它的一个依赖。找到的程序集清单定义不匹配程序集引用。 (异常来自HRESULT:0x80131040)

Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

这是我第一次部署ASP.NET网站,所以我不知道是什么问题。

This is my first time deploying an ASP.NET website, so I'm not sure what the problem is.

推荐答案

此链接给我,我没有安装所需的更新线索(我problemed关注版本NR,v11.0.0.0)

This link gave me a clue that I didn't install a required update (my problemed concerned version nr, v11.0.0.0)

<一个href=\"http://blogs.msdn.com/b/arvindsh/archive/2012/12/11/microsoft-report-viewer-2012-update-a-gotcha-to-be-aware-of.aspx\">ReportViewer 2012更新疑难杂症需要注意的

我在安装更新<一个href=\"http://www.microsoft.com/en-us/download/details.aspx?id=35747\">SQLServer2008R2SP2

我下载 ReportViewer.msi ,该要求已安装<一个HREF =htt​​p://www.microsoft.com/en-us/download/details.aspx?id=29065>微软系统CLR类型为Microsoft®SQLServer®上2012 (中​​间往下看的网页安装程序)

I downloaded ReportViewer.msi, which required to have installed Microsoft® System CLR Types for Microsoft® SQL Server® 2012 (look halfway down the page for installer)

在GAC现在可用的WebForms v11.0.0.0( C:\\ WINDOWS \\装配\\ Microsoft.ReportViewer.WebForms v11.0.0 0.0 以及 Microsoft.ReportViewer.Common v11.0.0.0

In the GAC was now available WebForms v11.0.0.0 (C:\Windows\assembly\Microsoft.ReportViewer.WebForms v11.0.0.0 as well as Microsoft.ReportViewer.Common v11.0.0.0)

这篇关于无法加载文件或程序集“Microsoft.ReportViewer.WebForms”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆