异常详细信息: 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中一运行就不行了,请问是什么问题?
...全文
1492 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
  • 打赏
  • 举报
回复
怎么会没有人知道啊!难道就没有人碰到这样的情况!

17,747

社区成员

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

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