水晶报表部署问题"Error in File UNKNOWN.RPT"

Error in File UNKNOWN.RPT:
The request could not be submitted for background processing.
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: Error in File UNKNOWN.RPT:
The request could not be submitted for background processing.

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 (0x800002ad): Error in File UNKNOWN.RPT: The request could not be submitted for background processing.] 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: Load report failed.] 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 Common.CrystalReport.CrystalReportOp.getReportDocument(String fielurl, DataSet ds, Int16 tablen, Boolean hz, String pagesmargin) +103 Common.CrystalReport.CrystalReportOp.getReportDocument(String fielurl, DataSet ds, Int16 tablen, Boolean hz) +52 data_op_Office_Station_Quarter_rpt.Page_Load(Object sender, EventArgs e) +712 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
解决办法:
经过查找资料,这是c盘权限的问题。
这是由于asp.net帐户、user帐户、innernet匿名帐户对c盘没有操作权限,点击c盘属性设置上相应用户的权限就可以了。

你可能感兴趣的:(exception,object,String,File,报表,dataset)