当前位置: 首页 > 图文教程 > 网络编程 > ASP.NET > VS2005 水晶报表在时部署时遇到的问题

ASP.NET
asp.net DiscuzNT登录,退出的代码
ASP .NET中执行控件(如ImageButton、LinkButton等)命令不刷新页面
Microsoft SQL Server 2005 Express 远程访问设置详述,100%成功篇
使用.NET命令行编译器编译项目(如ASP.NET、C#等)
asp.net 去除viewstate
asp.net repeater实现批量删除
asp.net安全、实用、简单的大容量存储过程分页
asp.net 获取图片高度和宽度实例代码
在GridView中LinkButton的属性的应用(如何不用选中就删除这一行)
关于.net(C#)中的跨进程访问的问题
asp.net request.PathInfo实现的url重写
asp.net SqlDataReader绑定Repeater
ASP.NET 动态写入服务器端控件
Discuz .net版本中的短消息系统
asp.net动态加载用户控件,关于后台添加、修改的思考
.net Cookies安全性实践分析
配置Visual Studio 以调试.net framework源代码
asp.net 大文件上传 之 改版了的SlickUpload.HttpUploadModule(Krystalware.SlickUpload.dll)
asp.net Web站点风格切换的实现
asp.net 用户控件中图片及样式问题

ASP.NET 中的 VS2005 水晶报表在时部署时遇到的问题


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2010-02-27   浏览: 185 ::
收藏到网摘: n/a

前几天在服务器上部署一个B/S程序的时候,程序中的水晶报表部分出了些问题,报错:Server Error in '/' Application. Retrieving the COM class factory for component with CLSID {11BD5260-15B6-412D-80DB-12BB60B8FE50} failed due to the following error: 800736b1.
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.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {11BD5260-15B6-412D-80DB-12BB60B8FE50} failed due to the following error: 800736b1.

在网上找资料,发现很多人提出了问题,但是解决的方法好像很少,我最后是看到的资料是说需要Crystal Reports 合并模块,我当时看的很迷茫,什么叫合并模块,查了资料,MSDN上是这样描述的,合并模块是确保与应用程序一起安装的报表组件和组件版本的正确性,Crystal Reports 合并模块必须包含在安装项目中才能用来部署报表。这些合并模块位于以下默认位置:C:\Program Files\Common Files\Merge Modules。

可从 http://www.businessobjects.com/products/dev_zone/net/2005.asp/ 下载用于 Crystal Reports for Visual Studio 2005 的合并模块。

计算机类型 项目类型 所需的合并模块
32 位 Windows 应用程序/网站
  • CrystalReportsRedist2005_X86.msm
x64 Windows 应用程序/网站
  • CrystalReportsRedist2005_X64.msm
IA64 Windows 应用程序/网站
  • CrystalReportsRedist2005_IA64.msm

当时我郁闷,因为我安装过这个模块的CrystalReportsRedist2005_X86.msm ,但是还是报这个错,后来我把这个卸载了重新安装了下,问题解决。我想起似乎是第一次安装这个模块的时候好像报过个什么错,当时选择了忽略了这个错误,可能就是这样没安装成功,所以有了错误。

希望我的经历对大家有所帮助。谢谢。