代码之家  ›  专栏  ›  技术社区  ›  Satya

无法在Windows 2003 OS上加载Crystal Report

  •  0
  • Satya  · 技术社区  · 17 年前

    Crystal Report 10无法加载到Windows 2003 OS上。我们正在用.NET 3.5和C.NET开发。

    它可以在包含类似配置但没有McAfee防病毒软件的dev box上正常工作。

    任何指点都会非常感激。

    错误信息:

    [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 回复  |  直到 10 年前
        1
  •  1
  •   shahkalpesh    17 年前

    查看stacktrace,似乎无法在指定路径上找到文件,或者对文件(或dir)的访问可能有问题。

        2
  •  1
  •   Satya    17 年前

    这是一个许可问题。我为“网络服务”用户设置了我的“C:驱动器”的权限,该驱动器具有应用程序和所需的软件。

    在获得许可后,Crystal Reports开始显示。

    感谢您的回复。专门到@arvo

        3
  •  0
  •   Nasir Ali    10 年前

    已为64位应用程序的vs 2010运行时安装CR 然后,创建了一个具有池管理员权限的新集成池。

    推荐文章