关于Crystal Report的一个错误

leimin 2006-09-30 10:35:23
在vs2003开发的crystal report的一个WEB程序中,出现一个奇怪的问题,如果多个客户端(IE),不停的预览和关闭CRYSTAL REPORT的程序,客户端会出现错误提升,并且只有重新起到IIS才可以恢复.

下面是错误信息, 100分酬谢:-)
*********************************************************************************
当前异常信息
打开报表失败。
导致错误的应用程序或对象的名称
Analysis Server
获取引发当前异常的方法
Open
描述调用堆栈的内容,其中首先显示最近的方法调用.
在 CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
在 CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
在 CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()

--------------------------------------------------------------------------------

当前异常信息
加载报表失败。
导致错误的应用程序或对象的名称
CrystalDecisions.CrystalReports.Engine
获取引发当前异常的方法
EnsureDocumentIsOpened
描述调用堆栈的内容,其中首先显示最近的方法调用.
在 CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
在 CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
在 CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
在 Reports.DataSetConfiguration.getPullDocument(String strRptName, ReportDocument customerReport)
在 Reports.DataSetConfiguration.getPullDocument(String strRptName)
在 Module_Reports_ReportUserControl.Page_Init(Object sender, EventArgs e)
在 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
在 System.Web.UI.Control.OnInit(EventArgs e)
在 System.Web.UI.UserControl.OnInit(EventArgs e)
在 System.Web.UI.Control.InitRecursive(Control namingContainer)
在 System.Web.UI.Control.AddedControl(Control control, Int32 index)
在 System.Web.UI.ControlCollection.Add(Control child)
在 ReportPageBase.Page_Init(Object sender, EventArgs e)
在 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
在 System.Web.UI.Control.OnInit(EventArgs e) 在 System.Web.UI.Page.OnInit(EventArgs e)
在 PageBase.OnInit(EventArgs e) 在 System.Web.UI.Control.InitRecursive(Control namingContainer)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

--------------------------------------------------------------------------------

当前异常信息
引发类型为“System.Web.HttpUnhandledException”的异常。
导致错误的应用程序或对象的名称
System.Web
获取引发当前异常的方法
HandleError
描述调用堆栈的内容,其中首先显示最近的方法调用.
在 System.Web.UI.Page.HandleError(Exception e)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
在 System.Web.UI.Page.ProcessRequest()
在 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
在 System.Web.UI.Page.ProcessRequest(HttpContext context)
在 ASP.module_reports_pos_flashsalesreport_aspx.ProcessRequest(HttpContext context)
位置 c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\getretail\ea32c23d\478c5581\App_Web_9b2qztkd.2.cs:行号 0
在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
...全文
299 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
winner2050 2006-10-05
  • 打赏
  • 举报
回复
友情帮顶
zzd8310 2006-10-01
  • 打赏
  • 举报
回复
帮顶
myminimouse 2006-10-01
  • 打赏
  • 举报
回复
帮顶~
netboygg 2006-09-30
  • 打赏
  • 举报
回复
你的reportDocument文件没有释放掉 和我遇到的问题一样...

http://community.csdn.net/Expert/topic/5059/5059756.xml?temp=.3884699

4,818

社区成员

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

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