Could not load file or assembly log4net or one of its dependencies
<p>I've been asked to take a look at an error in an ASP/C# application with its Paypal integration. The error, shown in full, is:</p>

<blockquote>
  <p>Could not load file or assembly
  'log4net, Version=1.2.0.30714,
  Culture=neutral,
  PublicKeyToken=b32731d11ce58905' or
  one of its dependencies. The located
  assembly's manifest definition does
  not match the assembly reference.
  (Exception from HRESULT: 0x80131040)</p>
</blockquote>

<p>From what I understand, this means that the actual file located (that is, log4net.dll in my bin directory) does not match the version expected based on some assembly configuration. The problem I'm having is that I cannot locate where this file is being referenced.</p>

<p>I have access to all the files in the web root directory of the site, and cannot locate any config files that reference this DLL. Where else might I need to look to determine what's causing the mis-match?</p>

<p>As a note, I've made sure that the version of the DLL in the bin directory is up to date, but this does not seem to have resolved anything.</p>
