无法加载文件或程序集'CrystalDecisions.ReportAppServer.CommLayer,版本 = 13.0.2000.0

Could not load file or assembly #39;CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0(无法加载文件或程序集CrystalDecisions.ReportAppServer.CommLayer,版本 = 13.0.2000.0)

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

问题描述

我开发了一个简单的项目.我必须打印一些水晶报告.该项目在本地机器上运行得很好,但是当我在网络托管服务器上运行它时,它在查看水晶报告时显示错误.

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,Culture=neutral, 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.

来源错误:

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

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.

警告:程序集绑定日志记录已关闭.启用程序集绑定失败记录,设置注册表值[HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) 为 1.注意:有是与装配绑定失败相关的一些性能损失记录.要关闭此功能,请删除注册表值[HKLMSoftwareMicrosoftFusion!EnableLog].

WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLMSoftwareMicrosoftFusion!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 [HKLMSoftwareMicrosoftFusion!EnableLog].

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

Please any one can help me .....

推荐答案

我在搬到新的笔记本电脑(Windows 10)后遇到了同样的错误.除了如上所述将 Copy Local 设置为 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:无法加载文件或程序集'CrystalDecisions.ReportAppServer.CommLayer,版本 = 13.0.2000.0