Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/273.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# Win2k8服务器64位| Crystal Repor 2005-异常:加载报告失败_C#_Asp.net_Crystal Reports_Windows Server 2008 - Fatal编程技术网

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

C# Win2k8服务器64位| Crystal Repor 2005-异常:加载报告失败,c#,asp.net,crystal-reports,windows-server-2008,C#,Asp.net,Crystal Reports,Windows Server 2008,我们正在从Windows Server 2003 x86迁移到Windows Server 2008 R2 x64 我们通常有一个完整记录的迁移设置和过程,经过验证并在windows Server 2003 x86上运行,因为我们已经在不到3年的时间内完成了5倍以上的迁移 但是现在在Win2k8服务器R2 x64上,我们仍然遵循上述步骤,唯一的附加/新步骤是安装: vcredist_x86(由于通常的VS2005_CR安装程序出现故障,需要先安装此安装程序,然后再安装通常的VS2005_CR安

我们正在从Windows Server 2003 x86迁移到Windows Server 2008 R2 x64

我们通常有一个完整记录的迁移设置和过程,经过验证并在windows Server 2003 x86上运行,因为我们已经在不到3年的时间内完成了5倍以上的迁移

但是现在在Win2k8服务器R2 x64上,我们仍然遵循上述步骤,唯一的附加/新步骤是安装:

  • vcredist_x86(由于通常的VS2005_CR安装程序出现故障,需要先安装此安装程序,然后再安装通常的VS2005_CR安装程序)
我们还尝试安装(希望以下问题得到解决):

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

但仍然无效,我们仍然有以下问题:

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

[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
说明:执行当前web请求期间发生未经处理的异常。请查看堆栈跟踪以了解有关错误的更多信息以及错误在代码中的起源

异常详细信息:System.AccessViolationException:尝试读取或写入受保护内存。这通常表示其他内存已损坏

堆栈跟踪:

[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。

p.S.我不得不说,Win2008R2比旧版本的WinServer更安全,不允许访问注册表项,更难写入GAC等等。@Colin,你对我的问题有什么建议吗?你有64位的开发人员机器吗?它对他们有用吗?@Jeremy Stein,问题是,我们没有64位开发人员