Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=11.0.0.0 异常处理
在本机开发asp.net .rdlc报表后,部署到本地没有问题。
当把网站发布后部署在IIS上,新电脑上(只安装了.net framwork4.5),提示如下错误:
“Could not load file or assembly Microsoft.ReportViewer.WebForms, Version=11.0.0.0……
或者
”Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=11.0.0.0……
针对如上问题,需要安装如下组件:
在安装ReportViewer.msi时可能提示安装:
SQLSysClrTypes.msi
安装如上两组件后,再次运行站点,还可能报错:
“ASP.NET ReportViewer Native compiler return value: ‘[BC2001] file’ error”
不用担心,按一下步骤处理:
1、选择此站点的-》应用程序池,右击-》点击"设置应用程序池默认设置",如下图:

2、选择 -》“进程模型”->"标识"-》“自定义账户”,设置为管理员用户名及密码,运行下,成功。

参考资料:
Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=11.0.0.0 异常处理的更多相关文章
- Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies
		my shurufa huai diao le 1\ first you need install " SQLSysClrTypes_x86.msi " 2\ ... 
- Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its de
		页面加载时出现这个错误: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Cul ... 
- Could not load file or assembly 'System.Web.Mvc, Version=5.2.3.0...
		一.在Mvc 发布时出现如下错误: Could not load file or assembly 'System.Web.Mvc, Version=5.2.3.0... 出现错误的原因是 Mvc版本 ... 
- Could not load file or assembly ‘ Oracle.ManagedDataAccess.EntityFramework, Version=6.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342’ or one of its dependencies系统找不到指定文件 处理方法
		前些天做EF Model-First测试,开发环境为VS2013,数据库为Oracle 11g.所有东西都装好数据模型已经建立后准备执行“根据模型生成数据库”命令时,出现:Could not load ... 
- 未能加载文件或程序集 Microsoft.ReportViewer.Common, Version=11.0.0.0
		原文:未能加载文件或程序集 Microsoft.ReportViewer.Common, Version=11.0.0.0 System.IO.FileNotFoundException: 未能加载文 ... 
- 运行出错之未能加载文件或程序集“Microsoft.ReportViewer.Common, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91”或它的某一个依赖项。系统找不到指定的文件。文件名:“Microsoft.ReportViewer.Common, Version=11.0.0.0,
		这个问题是因为在项目中缺少Microsoft.ReportViewer.Common程序集. 方法一:缺少哪些文件或程序集,到程序开发计算机下找到对应的烤到客户端的程序启动目录下即可(项目烤到Bin\ ... 
- Could not load file or assembly Microsoft.Web.Infrastructure
		Error info:Could not load file or assembly 'Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=n ... 
- Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=11.0.0.0  系统找不到指定的文件。
		环境: web服务器: ip:192.168.1.32 ,安装有 Visual Studio Premium 2013 操作系统: Microsoft Server 2008 r2+sp1 数据库服 ... 
- Could not load file or assembly Microsoft.SqlServer.management.sdk.sfc version 11.0.0.0
		I have installed MS SQL Server 2012 R2 and when I try to update model from database under EDMX file ... 
随机推荐
- python学习笔记07:自定义类型
			class person: def __init__(self,name,age,weight): self.name = name self.age = age self.weight = weig ... 
- VM新安装centos7无法连接网络的问题
			https://blog.csdn.net/u012110719/article/details/42264601 https://blog.csdn.net/kexiaoling/article/d ... 
- ICommand接口
			WPF 中的命令是通过实现 ICommand 接口创建的.ICommand 的 WPF 实现是 RoutedCommand 类. WPF 中的主要输入源是鼠标.键盘.墨迹和路由命令.更加面向设备的输入 ... 
- 使用Xcode进行调试
			目录 知己知彼 百战不殆抽刀断Bug 普通操作 全局断点(Global BreakPoint) 条件断点(Condational Breakpoints)打印的艺术 NSLog 开启僵尸对象(Enab ... 
- 【bzoj4550】小奇的博弈  博弈论+dp
			题目描述 这个游戏是在一个1*n的棋盘上进行的,棋盘上有k个棋子,一半是黑色,一半是白色.最左边是白色棋子,最右边 是黑色棋子,相邻的棋子颜色不同. 小奇可以移动白色棋子,提比可以移动黑色的棋子, ... 
- Python Collections详解
			Python Collections详解 collections模块在内置数据结构(list.tuple.dict.set)的基础上,提供了几个额外的数据结构:ChainMap.Counter.deq ... 
- 新版chrome touch警告处理办法
			最近做项目经常在 chrome 的控制台看到如下提示: Unable to preventDefault inside passive event listener due to target bei ... 
- P4316 绿豆蛙的归宿
			题意翻译 「Poetize3」 题目背景 随着新版百度空间的上线,Blog宠物绿豆蛙完成了它的使命,去寻找它新的归宿. 题目描述 给出一个有向无环图,起点为1终点为N,每条边都有一个长度,并且从起点出 ... 
- P1135 奇怪的电梯
			题目描述 呵呵,有一天我做了一个梦,梦见了一种很奇怪的电梯.大楼的每一层楼都可以停电梯,而且第i层楼(1<=i<=N)上有一个数字Ki(0<=Ki<=N).电梯只有四个按钮:开 ... 
- BZOJ2844:albus就是要第一个出场——题解
			https://www.lydsy.com/JudgeOnline/problem.php?id=2844 已知一个长度为n的正整数序列A(下标从1开始), 令 S = { x | 1 <= x ... 
