无法加载文件或程序集log4net [英] Could not load file or assembly log4net

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

问题描述

在godaddy托管我的网站时我收到错误:



无法加载文件或程序集'log4net,Version = 1.2。 10.0,Culture = neutral,PublicKeyToken = 692fbea5521e1304'或其中一个依赖项。定位的程序集的清单定义与程序集引用不匹配。 (HRESULT异常:0x80131040)

while hosting my website in godaddy i'm getting error:

Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

推荐答案

嗨Deenuji,



你的最终解决方案应该有log4net参考文件,上面的错误是因为代码仍然指向缺少引用log4net文件。所以尝试将log4net文件与您的应用程序放在一起可能会解决问题



问候,

RK
Hi Deenuji,

Your final solution should have the log4net reference file, the above error is because code still points to missing reference log4net file.So try to place the log4net file with your application might solve the issue

Regards,
RK


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

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