水晶报表加载失败的问题
程序在我本机上,用VS2005直接编译运行,没任何问题。传到服务器上去,打开页面的时候,却提示报表加载失败。
错误提示:
“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------
文件 UNKNOWN.RPT 内出错:
无法将请求提交给后台处理。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Runtime.InteropServices.COMException: 文件 UNKNOWN.RPT 内出错:
无法将请求提交给后台处理。
源错误:
行 105: ReportDocument myReport = new ReportDocument();
行 106: DataOperation myda = new DataOperation();
行 107: myReport.Load(ApplicationInfo.PhysicalApplicationPath + "/Report/001.rpt");
行 108: myReport.SetDataSource(myda.GetExeSqlDataSet(sqlstr, "Gysda"));
行 109: CrystalReportViewer1.ShowFirstPage();
源文件: d:\百科公司营运网站\百科公司营运\hf\FundamentalData\MaterialData.aspx.cs 行: 107
堆栈跟踪:
[COMException (0x800002ad): 文件 UNKNOWN.RPT 内出错:
无法将请求提交给后台处理。]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +87
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +279
[Exception: 加载报表失败。]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +340
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +870
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +73
FundamentalData_MaterialData.PrintReport() in d:\百科公司营运网站\百科公司营运\hf\FundamentalData\MaterialData.aspx.cs:107
FundamentalData_MaterialData.Page_Load(Object sender, EventArgs e) in d:\百科公司营运网站\百科公司营运\hf\FundamentalData\MaterialData.aspx.cs:31
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.42; ASP.NET 版本:2.0.50727.210
请问是什么问题呀,在线等,