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

ASP.NET
XPath序列之二
COM与基于组件技术的开发和应用模式(一)
What is XAML?
浅析ASP.NET FORUMS中缓存机制的应用
MetaBuilders在ASP.NET FORUMS2.0中的应用方法
走进C# (我的C#学习之旅)之三
数据库连接字符串的小技巧
两个窗体之间传值
Oracle 数据库中的 empty string 处理
IronPython中没有System.Data命名空间?
Crystal Report's BUG?
使用Windows API函数显示打开文件对话框
vb.net高手请进
Comega
枚举学习案例
XML 属性顺序
自定义文档库之---扩展文档库字段
how to send email by jmail?
Oracle数据库Date类型字段读写经验
VB之Win32 API编程--判断本地或远程文件是否存在的简易方法

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2010-02-27   浏览: 116 ::
收藏到网摘: 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 ,但是还是报这个错,后来我把这个卸载了重新安装了下,问题解决。我想起似乎是第一次安装这个模块的时候好像报过个什么错,当时选择了忽略了这个错误,可能就是这样没安装成功,所以有了错误。

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