Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Jochem 7 posts 67 karma points
    Dec 03, 2013 @ 16:23
    Jochem
    0

    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)

    <dependentAssembly>
            <assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" />
            <codeBase version="1.2.11.0" href="bin\ucommerce\log4net.dll" />
          </dependentAssembly>
    

    Stack Trace:

    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
    
  • Jochem 7 posts 67 karma points
    Dec 04, 2013 @ 17:01
    Jochem
    0

    -

  • Morten Skjoldager 440 posts 1499 karma points
    Dec 05, 2013 @ 08:47
    Morten Skjoldager
    0

    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!  

  • Jochem 7 posts 67 karma points
    Dec 05, 2013 @ 10:02
    Jochem
    0

    I added it to the solution so everyone in the TFS can get the project and run it without installing/other problems.

  • Jesper Nielsen 141 posts 498 karma points
    Dec 06, 2013 @ 14:06
    Jesper Nielsen
    100

    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

Please Sign in or register to post replies

Write your reply to:

Draft