Crystal Report无法在Windows 2003操作系统上加载

时间:2009-05-11 15:51:03

标签: .net crystal-reports

Crystal Report 10无法在Windows 2003操作系统上加载。我们正在开发.net 3.5与C#.net。

它在开发盒上运行正常,它包含类似的配置但没有安装McAFEE防病毒软件。

任何指针都会非常感激。

错误讯息:

[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) +95
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper
                                       .EnsureDocumentIsOpened() +271

错误:http://xxx/Reports/AgencyDetailReport.aspx。错误消息:Load report failed

TARGETSITE: Void EnsureDocumentIsOpened() STACKTRACE: at 
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper
   .EnsureDocumentIsOpened() at CrystalDecisions.CrystalReports.Engine.
      ReportDocument.Load(String filename, OpenReportMethod openMethod,
Int16 parentJob) at CrystalDecisions.CrystalReports.Engine.ReportDocument.
    Load(String filename) at Reports_AgencyDetailReport
          .CreateCrystalReportDocument(ReportObject rptObj) in
     c:\xxx\testapplication\Reports\AgencyDetailReport.aspx.cs:line 122
     at Reports_AgencyDetailReport.Button1_Click(Object sender, EventArgs e) 
      in c:\xxx\testapplication\Reports\AgencyDetailReport.aspx.cs:line 99

3 个答案:

答案 0 :(得分:2)

这是一个许可问题。我为'NETWORK SERVICE'用户设置了我的'C:'驱动器的权限,该驱动器具有应用程序以及所需的软件。

在获得权限后,Crystal报告开始显示。

感谢您的回复。特别是@Arvo

答案 1 :(得分:1)

查看堆栈跟踪,似乎无法在指定路径上找到该文件,或者访问该文件(或dir)可能是个问题。

答案 2 :(得分:0)

适用于64位应用的VS 2010 Runtime的已安装CR 然后,创建一个具有管理员权限的新集成池。