代码之家  ›  专栏  ›  技术社区  ›  No Body

Win2k8服务器64位| Crystal Repor 2005-异常:加载报告失败

  •  1
  • No Body  · 技术社区  · 17 年前

    我们要迁移到 Windows Server 2008 R2 x64 从

    我们通常有一个完整记录的迁移设置和过程 在windows Server 2003 x86上经过验证的工作

    但是现在 Win2k8服务器R2 x64

    • vcredit_x86(由于通常的VS2005_CR安装程序失败,需要先安装此程序,然后再安装通常的VS2005_CR安装程序)。

    • CRRedist2005 U X64型

    Crystal Report,在某个目录上创建一个pdf文件,我们有一个表单来流化pdf。(请注意,对该目录的访问权限(整个应用程序路径“\kiss”)已设置为所有人都已满)

    但仍然没有结果,我们仍然有以下问题:

    试图读取或写入受保护的内存。这通常表示其他内存已损坏。

    当前web请求执行期间发生未处理的异常。请查看堆栈跟踪以获取有关错误及其源代码的详细信息。

    异常详细信息:

    堆栈跟踪:

    [AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.]
       CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +65
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +195
    
    [Exception: Load report failed.]
       CompanyMatrix.Page_Load(Object sender, EventArgs e) in c:\www\kiss\Matrixes\CompanyMatrix.aspx.cs:134
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       OSM.kiss.Web.BaseWebUI.OnLoad(EventArgs e) +40
       System.Web.UI.Control.LoadRecursive() +50
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
    

    我们可以排除文件夹访问权限的可能性,因为应用程序可以在自己的文件夹上生成xls、docs和.txt。

    0 回复  |  直到 17 年前