0
在尝试从IIS中托管的应用程序查看报告时,我不断收到此Crystal报告错误。Crystal报错 - System.AccessViolationException:试图读取或写入受保护的内存。
代码 -
ceEnterpriseService = ceSession.GetService("", "InfoStore")
ReportApplicationFactory = ceSession.GetService("RASReportFactory").Interface
ceInfoStore = New InfoStore(ceEnterpriseService)
Web服务器,只要它通过 “新InfoStore(ceEnterpriseService)” 行抛出一个未处理的胜利异常。
我安装了Crystal Enterprise 10并使用VS 2012/.NET 4.5。由于客户正在使用Crystal Enterprise 10,我必须使用Crystal Enterprise 10。我还安装了一个不同的版本,并且在某些时候返回了未安装的版本,这使我在登记时破坏了一些报告。 解决了这个问题,要求客户端加载他们的dll集。
这个错误也可能是错误版本的结果吗?如何检查需要什么版本。 我有点迷失在这。任何帮助,将不胜感激。
谢谢。