在IIS上部署时,Crystal报告错误 [英] Crystal reports error when deploy on IIS

查看:150
本文介绍了在IIS上部署时,Crystal报告错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

'/'应用程序中的服务器错误。 
配置错误
描述:处理为此请求提供服务所需的配置文件时发生错误。请查看下面的具体错误详细信息并相应地修改配置文件。

分析器错误消息:无法加载文件或程序集CrystalDecisions.Web,Version = 13.0.2000.0,Culture = neutral,PublicKeyToken = 692fbea5521e1304或其中一个依赖项。该系统找不到指定的文件。

来源错误:


第25行:< 编译 targetFramework = 4.0 >
第26行:< 程序集 >
第27行:< add 程序集 = CrystalDecisions.Web,Version = 13.0.2000.0,Culture = neutral,PublicKeyToken = 692FBEA5521E1304 / >
第28行:< 添加 程序集 = CrystalDecisions.Shared,Version = 13.0.2000.0,Culture = neutral,PublicKeyToken = 692FBEA5521E1304 / >
第29行:< add assembly = < span class =code-keyword> log4net,Version = 1.2.10.0,Culture = neutral,PublicKeyToken = 692FBEA5521E1304 / >




程序集加载跟踪:以下信息有助于确定程序集CrystalDecisions.Web的原因,版本= 13.0.2000.0,Culture = neutral,PublicKeyToken = 692fbea5521e1304'无法加载。


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

解决方案

参考 - 无法加载文件或程序集[已解决] [ ^ ]。

Quote:

它没有加载Crystal报告DLL



转到本地机器上的bin文件夹然后为每个dll单击dll,这样在属性窗口中你将获得dll的属性



有一个属性,默认情况下会显示Copy Local,它是false,然后发布网站并替换服务器上的网站。


Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

Source Error:


Line 25:     <compilation targetFramework="4.0">
Line 26:       <assemblies>
Line 27:         <add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
Line 28:         <add assembly="CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
Line 29:         <add assembly="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>




Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.Web, 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].

解决方案

Refer - Could not load file or assembly [Resolved][^].

Quote:

Its not loading Crystal reports DLL

GO to the bin folder on your local machine and then for every dll click on the dll so in the properties windows you will get the properties of the dll

The there is a property that will show Copy Local by default it is false make it true and then publish the website and replace the website on the server.


这篇关于在IIS上部署时,Crystal报告错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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