日期:2014-05-18  浏览次数:20528 次

水晶报表的问题,急急急
错误信息如下,谁知道怎么回事?

Server Error in '/GlobalMIS.Web' Application.
--------------------------------------------

The Report Application Server failed 
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: The Report Application Server failed

Source Error: 


Line 93: End If
Line 94: 
Line 95: repDoc.Load(System.Configuration.ConfigurationSettings.AppSettings("rptFilePath") + strRptReports)
Line 96: repDoc.Refresh()
Line 97: 
 

Source File: E:\wangling\GlobalMIS.Web\Pages\Reports\GeneralRPTConnect.aspx.vb Line: 95 

Stack Trace: 


[COMException (0x80004005): The Report Application Server failed]
  CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
  CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +72
  CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +218

[Exception: 加载报表失败。]
  CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +270
  CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +764
  CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +52
  YCWebAdmin.GeneralRPTConnect.BindData(String strStoreProcedure, String strRptReports) in E:\wangling\GlobalMIS.Web\Pages\Reports\GeneralRPTConnect.aspx.vb:95
  YCWebAdmin.GeneralRPTConnect.Page_Load(Object sender, EventArgs e) in E:\wangling\GlobalMIS.Web\Pages\Reports\GeneralRPTConnect.aspx.vb:29
  System.Web.UI.Control.OnLoad(EventArgs e) +67
  System.Web.UI.Control.LoadRecursive() +35
  System.Web.UI.Page.ProcessRequestMain() +750

 


------解决方案--------------------
你看看这里,有很多相关的信息
http://www.baidu.com/s?wd=System.Runtime.InteropServices.COMException%3A+++The+++Report+++Application+++Server+++failed+&cl=3
------解决方案--------------------
把IIS匿名访问的帐号加到administrator组 试试

引自http://blog.csdn.net/byair888/archive/2008/01/22/2058539.aspx
------解决方案--------------------
(System.Configuration.ConfigurationSettings.AppSettings("rptFilePath") + strRptReports) --------------------------
servermpa(System.Configuration.ConfigurationSettings.AppSettings("rptFilePath"))+strRptReports;
路径前面加ServerMap
------解决方案--------------------
学习