I've the same problem as a week ago (old topic).
I thought I had fixed it but it occured again today. I've installed umbraco 6.1.6 via nuget and installed via umbraco the latest packages.
after that I needed to include most files to solution so they will be included in TFS. Everything seems fine until I added the "bin/ucommerce" folder to the solution.
Versions:
Umbraco 6.1.6 (via nu-get), uCommerce 4.0.6.13304 (via umbraco), Demo store 2.0.0.13249, ASP.NET version 4, Windows 7
This exists in my web config. (as answer on Morton, in the old topic)
Server Error in '/' Application.
Could not load file or assembly 'log4net, Version=1.2.11.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.11.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'log4net, Version=1.2.11.0, Culture=neutral, PublicKeyToken=null' could not be loaded.
[FileLoadException: Could not load file or assembly 'log4net, Version=1.2.11.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
Umbraco.Core.Logging.LogHelper.Debug(Type type, String generateMessageFormat, Func`1[] formatItems) +0
Umbraco.Core.DisposableTimer.DebugDuration(Type loggerType, String startMessage, String completeMessage) +166
Umbraco.Core.DisposableTimer.DebugDuration(String startMessage, String completeMessage) +109
Umbraco.Core.CoreBootManager.Initialize() +154
Umbraco.Web.WebBootManager.Initialize() +49
Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +151
Umbraco.Core.UmbracoApplicationBase.Application_Start(Object sender, EventArgs e) +40
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408
Why do you need to add the bin/ucommerce to the solution ? You can just install Umbraco via nuget and then install uCommerce on top using the installation package. Everything will be good to go from there!
uCommerce dll issue.
Hello,
I've the same problem as a week ago (old topic). I thought I had fixed it but it occured again today. I've installed umbraco 6.1.6 via nuget and installed via umbraco the latest packages. after that I needed to include most files to solution so they will be included in TFS. Everything seems fine until I added the "bin/ucommerce" folder to the solution.
Versions:
Umbraco 6.1.6 (via nu-get), uCommerce 4.0.6.13304 (via umbraco), Demo store 2.0.0.13249, ASP.NET version 4, Windows 7
This exists in my web config. (as answer on Morton, in the old topic)
Stack Trace:
-
Why do you need to add the bin/ucommerce to the solution ? You can just install Umbraco via nuget and then install uCommerce on top using the installation package. Everything will be good to go from there!
I added it to the solution so everyone in the TFS can get the project and run it without installing/other problems.
Hi Jochem,
There are two different versions of the "log4net" assembly in play here.
The one that cannot be found is version 1.2.11.0 without a public key token. This is the one found in "bin" and used by Umbraco.
The other, used by uCommerce, is 1.2.11.0 with a public key token. This is located in "bin/ucommerce".
These are two different assemblies. Both needs to be present. Looks like you might be missing one of them.
Kind regards,
Jesper
is working on a reply...