Binding context - log4net DLL

I get this error when I attempt to run my web app  (MVC if it matters):

The assembly with display name 'log4net' failed to load in the 'Load' binding context of the AppDomain with ID 7. The cause of the failure was: System.IO.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.11.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I've tried adding log4net.dll to "References" folder for several projects that didn't have it (whether they use it or not) and the one thing that seems to change is the AppDomain ID:

For example it says in the current message:

The assembly with display name 'log4net' failed to load in the 'Load' binding context of the AppDomain with ID 7

but it used to say:

The assembly with display name 'log4net' failed to load in the 'Load' binding context of the AppDomain with ID 4

Before that it said:

The assembly with display name 'log4net' failed to load in the 'Load' binding context of the AppDomain with ID 2


I could use some help understanding what causes this message and how to fix it.

So far, I have the button option of "Continue" after which the application runs fine, apparently.



UPDATE:

It seems to happen the FIRST time after I do a REBUILD:


The output window runs to this point then it stops:

'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Caching\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.Caching.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Build.Utilities.v4.0\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.Build.Utilities.v4.0.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.RegularExpressions\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.RegularExpressions.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.JScript\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.JScript.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Web.PageInspector.Loader\v4.0_1.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Web.PageInspector.Loader.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\5127e3a2\5f056755_0d67d001\Antlr3.Runtime.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\6bd36790\9ff2b051_0d67d001\DotNetOpenAuth.AspNet.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\41ad1434\1f83cd51_0d67d001\DotNetOpenAuth.Core.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\b68aac7a\9f08d751_0d67d001\DotNetOpenAuth.OAuth.Consumer.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\f4918620\bf2cde51_0d67d001\DotNetOpenAuth.OAuth.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\9c5a38ea\ff8a1252_0d67d001\DotNetOpenAuth.OpenId.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\558b10d6\7f101c52_0d67d001\DotNetOpenAuth.OpenId.RelyingParty.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\94a6f7ee\ffa03852_0d67d001\EntityFramework.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\9eb6f394\bc5cdcab_5250d001\log4net.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\83ca2c08\ff7cb553_0d67d001\Microsoft.Data.Edm.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\3bf1d8b5\ffb31454_0d67d001\Microsoft.Data.OData.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Web.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e35\Microsoft.Web.Infrastructure.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\07992d1b\dfdfdc52_0d67d001\Microsoft.Web.Mvc.FixedDisplayModes.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\a189c699\3faf9d53_0d67d001\Microsoft.Web.WebPages.OAuth.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\e808d227\584feb22_6878d001\NetEndeavor.Database.dll', Symbols loaded.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\fef69d37\bc477a23_6878d001\NetEndeavor.Framework.dll', Symbols loaded.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\05949f94\7ffd2155_0d67d001\Newtonsoft.Json.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\c4d6a76d\6883f623_6878d001\ObjAdmin.dll', Symbols loaded.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\92328a4f\b985d6c8_ba77d001\ObjCommon.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\5fbabaa6\c2016424_6878d001\OneBox.dll', Symbols loaded.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\a05a15b3\23033a23_6878d001\SQLData.dll', Symbols loaded.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\38611317\df693755_0d67d001\System.Spatial.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Helpers\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.Helpers.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\f9a38e48\bfe72153_0d67d001\System.Web.Http.OData.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Mvc\v4.0_4.0.0.1__31bf3856ad364e35\System.Web.Mvc.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\982aa59b\5f7b0c53_0d67d001\System.Web.Optimization.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Razor\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.Razor.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Deployment\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.Deployment.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Razor\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.Razor.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\e0ab44cb\7a97f922_6878d001\Utilities.dll', Symbols loaded.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\assembly\dl3\81f2816d\bf666955_0d67d001\WebGrease.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WebMatrix.Data\v4.0_2.0.0.0__31bf3856ad364e35\WebMatrix.Data.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WebMatrix.WebData\v4.0_2.0.0.0__31bf3856ad364e35\WebMatrix.WebData.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Deployment\v4.0_1.0.0.0__31bf3856ad364e35\System.Web.WebPages.Deployment.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Web.PageInspector.Runtime\v4.0_14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Web.PageInspector.Runtime.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Web.PageInspector.Tracing\v4.0_14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Web.PageInspector.Tracing.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Dynamic\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Dynamic.dll', 

Open in new window


After I press continue on the "binding failure" dialogue...this is the rest of it:

The thread '<No Name>' (0x1268) has exited with code 0 (0x0).
The thread '<No Name>' (0x1ecc) has exited with code 0 (0x0).
The thread '<No Name>' (0x167c) has exited with code 0 (0x0).
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.Services.Design\v4.0_4.0.0.0__b77a5c561934e089\System.Data.Services.Design.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\App_global.asax.xlhsnu-z.dll', Symbols loaded.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Http.WebHost\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Http.WebHost.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Http\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Http.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Net.Http.Formatting\v4.0_4.0.0.0__31bf3856ad364e35\System.Net.Http.Formatting.dll'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Net.Http\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Net.Http.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Data.Linq.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.Entity\v4.0_4.0.0.0__b77a5c561934e089\System.Data.Entity.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Mobile\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'Anonymously Hosted DynamicMethods Assembly'
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\App_Web_kbdi2umf.dll', Symbols loaded.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\App_Web_gzmv0ci2.dll', Symbols loaded.
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\tom\AppData\Local\Temp\Temporary ASP.NET Files\vs\f963dc1e\26464\App_Web_p325o4z1.dll', Symbols loaded.

Open in new window



Here are my properties for the log4net.dll:

[note:  notice the binding error says the version it wants to load is 1.2.11.0, where as the apparent version of the log4net.dll is 1.2.9.0.  So ... perhaps that is part of the problem?  Where can I locate the "manifest file" associated with the DLL in question?]

log4net .9x  vs .11x
LVL 5
Tom KnowltonWeb developerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
Tom,

At first glance, I am thinking that you have multiple projects, and they are referencing different versions, or that you might have a reference to the log4net.dll from a \bin folder, and not the correct folder.
0
Tom KnowltonWeb developerAuthor Commented:
At first glance, I am thinking that you have multiple projects, and they are referencing different versions, or that you might have a reference to the log4net.dll from a \bin folder, and not the correct folder.

I think so, too.

I messaged our System Architect and asked him about the versioning on the DLL (in other words, should we be using 1.2.11.0 or 1.2.9.0).  I am still waiting for his reply.  I will also verify what is supposed to be the source for the DLL...when various projects reference it, where should they be pointing to?  I'll see what he says.

I can assume this will be the eventual fix.  Do you want your points now?  It may be a few days before I can verify that it was a versioning problem or mislocated file.
0
Bob LearnedCommented:
I am in no hurry.  I can wait until you verify the fix, because I know this is an annoying problem.
0
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

Tom KnowltonWeb developerAuthor Commented:
I've not gotten to the bottom of this yet.
0
Bob LearnedCommented:
If you select the reference in the Solution Explorer, and look at the Properties window (I try to keep them up all the time), you should see the file path for where the reference is being pulled from.  Sometimes, it can come from an unexpected place.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Bob LearnedCommented:
Did you find the problem?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.