无法加载文件或程序集'CrystalDecisions.ReportAppServer.CommLayer,版本= 13.0.2000.0 [英] Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0

查看:894
本文介绍了无法加载文件或程序集'CrystalDecisions.ReportAppServer.CommLayer,版本= 13.0.2000.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了一个简单的项目.我必须在其中打印一些水晶报表.该项目在本地计算机上运行得很好,但是当我在Web托管服务器上运行该项目时,在查看Crystal报表时显示了一个错误.

I have developed a simple project. where i have to print some crystal report. the project runs very well in local machine, but when i up this on a web hosting server, it shows me an error when crystal report viewing.

无法加载文件或程序集'CrystalDecisions.ReportAppServer.CommLayer,版本= 13.0.2000.0, 文化=中性,PublicKeyToken = 692fbea5521e1304'或其中之一 依赖关系.该系统找不到指定的文件. 说明:执行当前Web请求期间发生未处理的异常.请查看堆栈跟踪以获取更多信息 有关错误及其在代码中起源的信息.

Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

异常详细信息:System.IO.FileNotFoundException:无法加载 文件或程序集"CrystalDecisions.ReportAppServer.CommLayer, 版本= 13.0.2000.0,文化=中性,PublicKeyToken = 692fbea5521e1304' 或其依赖项之一.系统找不到指定的文件.

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

源错误:

在执行过程中生成了未处理的异常 当前的Web请求.有关原产地和位置的信息 可以使用下面的异常堆栈跟踪来识别异常.

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

装配体负载跟踪:以下信息可能对以下方面有所帮助: 确定为什么组装 'CrystalDecisions.ReportAppServer.CommLayer,版本= 13.0.2000.0, Culture = neutral,无法加载PublicKeyToken = 692fbea5521e1304'.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded.

WRN:程序集绑定日志记录已关闭.启用程序集绑定 失败日志记录,设置注册表值 [HKLM \ Software \ Microsoft \ Fusion!EnableLog](DWORD)为1.注意: 与程序集绑定失败相关的一些性能损失 记录.要关闭此功能,请删除注册表值 [HKLM \ Software \ Microsoft \ Fusion!EnableLog].

WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

请任何人可以帮助我.....

Please any one can help me .....

推荐答案

移动到新笔记本电脑(Windows 10)后,我遇到了相同的错误.除了如上所述将复制本地"设置为true之外,我还必须为.Net Framework安装Crystal Reports 32位运行时引擎,即使其他所有设置都可以在64位环境中运行.希望有帮助.

I had the same error after moving to a new laptop (Windows 10). In addition to setting Copy Local to true as mentioned above, I had to install the Crystal Reports 32-bit runtime engine for .Net Framework, even though everything else is set to run in a 64-bit environment. Hope that helps.

这篇关于无法加载文件或程序集'CrystalDecisions.ReportAppServer.CommLayer,版本= 13.0.2000.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆