gpt4 book ai didi

crystal-reports-2010 - 无法加载文件或程序集 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'

转载 作者:行者123 更新时间:2023-12-03 10:38:24 30 4
gpt4 key购买 nike

我正在使用vs2010和Crystal Report版本13.0.2000.0,系统64位Crystal报告运行时64位。
我的应用程序在开发机器上运行良好,但是当我在服务器上进行部署时
得到这个错误

Could not load file or assembly 'log4net, Version=1.2.10.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 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.



错误来源:

CR:CrystalReportViewer ID="CrystalRportViewrRegistration" runat="server" AutoDataBind="true"



并且我检查了GAC程序集,但没有找到log4net.dll,即使在我的系统中,我也进行了全部搜索,并尝试了各种操作,例如更改运行时版本以及从apache上传lo4net dll,但是没有运气。

最佳答案

要将IIS配置为运行32位应用程序,必须执行以下步骤:

Open IIS
Go to current server – > Application Pools
Select the application pool your 32-bit application will run under
Click Advanced setting or Application Pool Default
Set Enable 32-bit Applications to True

如果您无法使用此选项,请执行以下后续步骤:
Go to %windir%\system32\inetsrv\
Execute the appcmd.exe tool:

关于crystal-reports-2010 - 无法加载文件或程序集 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17291736/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com