异常详细信息: System.Runtime.InteropServices.COMException: 没有注册类别 - SDAVUtil(跪求啊!)

tombrues 2009-04-20 10:54:38
源代码:
reportDocument = new ReportDocument();
reportDocument.Load(Server.MapPath("CG_CGDD_Report.rpt"));
reportDocument.SetDataSource(ds);
ReportViewer.ReportSource = reportDocument;


错误提示:
[COMException (0x80040154): 没有注册类别 - SDAVUtil]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +95
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +271

[CrystalReportsException: 加载报表失败。]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +334
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +894
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +84
Maticsoft.Web.Report.CaiGou.CG_CGDD_Report1.ConfigureCrystalReports() in D:\Printsoftwareweb\Web\Admin\Report\CaiGou\CG_CGDD\CG_CGDD_Report.aspx.cs:60
Maticsoft.Web.Report.CaiGou.CG_CGDD_Report1.Page_Init(Object sender, EventArgs e) in D:\Printsoftwareweb\Web\Admin\Report\CaiGou\CG_CGDD\CG_CGDD_Report.aspx.cs:72
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnInit(EventArgs e) +99
System.Web.UI.Page.OnInit(EventArgs e) +12
System.Web.UI.Control.InitRecursive(Control namingContainer) +333
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378

在编译状态下都正常,但是一在IIS中一运行就不行了,请问是什么问题?
...全文
1489 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
dcjz 2011-01-24
  • 打赏
  • 举报
回复


Server.MapPath("CG_CGDD_Report.rpt")[

System.Runtime.InteropServices.COMException: 没有注册类别
ltylove2007 2010-12-22
  • 打赏
  • 举报
回复
刚遇到。一样在郁闷中..
hg5962870 2010-12-16
  • 打赏
  • 举报
回复
遇到了,一样在郁闷中
tombrues 2009-04-21
  • 打赏
  • 举报
回复
怎么会没有人知道啊!难道就没有人碰到这样的情况!
Retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154. 收藏 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 {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [COMException (0x80040154): Retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154.] GraphPage.Page_Load(Object sender, EventArgs e) +1097 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082 请大家帮忙 谢谢 Server Error in '/' Application. -------------------------------------------------------------------------------- Retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154.

17,748

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 .NET Framework
社区管理员
  • .NET Framework社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧