log4net

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
sloDavid
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 92
Joined: Thu Feb 25, 2010 12:34 pm

log4net

Post by sloDavid » Fri Nov 06, 2015 2:41 pm

Running R11, as a WAP. I can run the site just fine on localhost through the debugger in Visual Studio. But a coworker gets the following error:

{"Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of its dependencies. The system cannot find the file specified.":"log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821"}
Line 83 of Global.asax

His computer seems to have log4net version 1.2.13 installed. I notice that log4net is not referenced by the AbleCommerce project, and is not in the bin folder. But it DOES appear in the target bin upon publishing. Furthermore, I notice that when I published to a different machine, it experienced the same machine as my co-worker.

Does one of the CommerceBuilder DLLs rely on this? How do we fix this?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: log4net

Post by mazhar » Fri Nov 06, 2015 10:31 pm

CommerceBulider.dll references log4net. In Web App project there is a folder "Lib" containing referenced dlls, just copy the log4net from there to your bin.

Post Reply