Click here to Skip to main content
15,881,766 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
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)
Posted
Updated 8-Nov-13 23:16pm
v2
Comments
Dholakiya Ankit 9-Nov-13 5:17am    
Are your assembly references are proper?
Richard MacCutchan 9-Nov-13 5:20am    
Did you install all the libraries required by your project?
Deenuji 9-Nov-13 6:00am    
yes i tried i add log4net dll from some folder in c drive but getting the same error
Deenuji 9-Nov-13 6:02am    
how to add log4net dll to bin...which that correct dll locating in c drive...i'm using 64-bit os...then i installed in CRRuntime_62bit to my system but doesn't clear this issues

1 solution

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
 
Share this answer
 
Comments
Deenuji 9-Nov-13 6:00am    
yes i tried i add log4net dll from some folder in c drive but getting the same error
♥…ЯҠ…♥ 9-Nov-13 6:04am    
Do you have log4Net library in Bin folder?
Deenuji 9-Nov-13 6:06am    
no how to add tat file...where it existing??
♥…ЯҠ…♥ 9-Nov-13 6:11am    
Search log4net.dll in your application folder(it will be in bin folder) just copy it and paste it in your deployment solution bin folder
Deenuji 9-Nov-13 6:13am    
it doesnt exist in my system prabakar...i googled and get from net but not working...i'm using vs 2010 64bit...u ve tat dll means can u send to my mail id...before that u check which had same public token....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900