I've currently an issue when i'm installing umbraco 6.1.6 (via nuget) and after that I install ucommerce with the demo store.
When I try to run it (f5). I get a log4net issue. The one uCommerce uses is different from size then the Umbraco one. The version number is both 1.2.11.0
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 ,
IIS 7.5
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.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Stack Trace:
[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) +77
Umbraco.Core.CoreBootManager.Initialize() +60
Umbraco.Web.WebBootManager.Initialize() +18
Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +89
Umbraco.Core.UmbracoApplicationBase.Application_Start(Object sender, EventArgs e) +9
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408
Thank you for your reply.
I did a lot more digging in when I exactly got the Error in a fresh project.
The final result is that I included to many folders like ( bin folder, app_code).
I'm not sure but I also think I had a dll which gave errors.
I've excluded as many as possible and it seems to work perfect.
uCommerce Dll issue with Umbraco
I've currently an issue when i'm installing umbraco 6.1.6 (via nuget) and after that I install ucommerce with the demo store.
When I try to run it (f5). I get a log4net issue. The one uCommerce uses is different from size then the Umbraco one. The version number is both 1.2.11.0
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 , IIS 7.5
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)
Hi Jochem,
I just installed a fresh 6.1.6 Umbraco via Nuget and afterwards same uCommerce packages as you. No problems at all.
To mee it looks like a merge error under installation.
Do you see this element in web config under runtime/assemblyBinding?:
Hello Morten,
Thank you for your reply. I did a lot more digging in when I exactly got the Error in a fresh project. The final result is that I included to many folders like ( bin folder, app_code). I'm not sure but I also think I had a dll which gave errors.
I've excluded as many as possible and it seems to work perfect.
For now the problem is fixed. Thanks.
is working on a reply...