Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone,


I am getting below error even after i have added ref for this dll.

Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Could you please help me out, thanks
Posted

1 solution

Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Logging,
This simply means that the webserver does not have Microsoft.Practices.EnterpriseLibrary.Logging.dll V5.0.414.0, which looks like the one referenced in your application.

Make sure the exact same version assembly exists on the webserver, either in application BIN folder or in GAC.
 
Share this answer
 
Comments
Espen Harlinn 11-Sep-12 10:31am    
Sounds just about right :-D
Sandeep Mewara 11-Sep-12 10:48am    
Thanks Espen. :)

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