Page 1 of 1

log4net

Posted: Fri Nov 06, 2015 2:41 pm
by sloDavid
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?

Re: log4net

Posted: Fri Nov 06, 2015 10:31 pm
by mazhar
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.