- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我开发了一个简单的项目。我必须在那里打印一些 Crystal 报告。该项目在本地机器上运行良好,但是当我在网络托管服务器上启动它时,它在查看 Crystal 报告时显示错误。
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.
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.
Source Error:
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.
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: 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].
最佳答案
转移到新笔记本电脑(Windows 10)后,我遇到了同样的错误。除了如上所述将 Copy Local 设置为 true 之外,我还必须为 .Net Framework 安装 Crystal Reports 32 位运行时引擎,即使其他所有内容都设置为在 64 位环境中运行。希望有帮助。
关于asp.net - 无法加载文件或程序集 'CrystalDecisions.ReportAppServer.CommLayer,版本 = 13.0.2000.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38025601/
我是一名优秀的程序员,十分优秀!