CrystalReport的部署及组件误删后的问题解决

来源:互联网 发布:mac用的杀毒软件 编辑:程序博客网 时间:2024/05/17 22:28
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }

“/vmweb”应用程序中的服务器错误。

检索 COM 类工厂中 CLSID 为 {11BD5260-15B6-412D-80DB-12BB60B8FE50} 的组件时失败,原因是出现以下错误: 80040154。

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Runtime.InteropServices.COMException: 检索 COM 类工厂中 CLSID 为 {11BD5260-15B6-412D-80DB-12BB60B8FE50} 的组件时失败,原因是出现以下错误: 80040154。

源错误:


行 125: private void Print4Cond(string cond)
行 126: {
行 127: ReportDocument rpt = new ReportDocument();

行 128: DataSet ds = new DataSet();
行 129:
 

源文件: d:/Harvest/vmweb/DeptCallCenter/bill_list.aspx.cs    行: 127

堆栈跟踪:


[COMException (0x80040154): 检索 COM 类工厂中 CLSID 为 {11BD5260-15B6-412D-80DB-12BB60B8FE50} 的组件时失败,原因是出现以下错误: 80040154。] CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +193 [TypeInitializationException: “CrystalDecisions.CrystalReports.Engine.ReportDocument”的类型初始值设定项引发异常。]
CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0
DeptCallCenter_bill_list2.Print4Cond(String cond) in d:/Harvest/vmweb/DeptCallCenter/bill_list.aspx.cs:127
DeptCallCenter_bill_list2.Button2_Click(Object sender, EventArgs e) in d:/Harvest/vmweb/DeptCallCenter/bill_list.aspx.cs:108
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +96
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +116
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +31
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +32
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +72
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3840
 


版本信息: Microsoft .NET Framework 版本:2.0.50727.42; ASP.NET 版本:2.0.50727.210
原创粉丝点击