栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > .Net

Could not load file or assembly log4net, Version=1.2.13.0

.Net 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Could not load file or assembly log4net, Version=1.2.13.0

System.IO.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.13.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'log4net, Version=1.2.13.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a'
   
   at dcs.packing.BoxCodeSocketServer.StartBoxReaderServer(Int32 port)
   at dcs.packing.BoxCodeSocketServer.Start()
   at dcs.packing.FrmMain.Client_Connected(Object sender, EventArgs e)
   at dcs.net.TcpClientManager.Client_DataReceived(Object sender, DataEventArgs e)

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].

如题报错:本机运行一直OK,发布到其他机器报错,解决办法:

在配置文件中写入如下配置项:


   
     
       
       
     

     
       
       
     

   
 
 

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/911215.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号