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.

  • Søren Erland Vestø 19 posts 42 karma points
    Aug 15, 2012 @ 14:11
    Søren Erland Vestø
    0

    UCommerce just selfdestructed..

    While building my site on Umbraco 4.8 with uCommerce 2.6.1.0 I accidentally hit "Build solution" in Visual Studio.

    After having added several uCommerce-dll's back into the project I'm now stuck at this exception:

    An exception of type 'Castle.MicroKernel.ComponentActivator.ComponentActivatorException' occurred in Castle.Windsor.DLL but was not handled in user code
    Additional information: ComponentActivator: could not instantiate UCommerce.EntitiesV2.Repository`1[[UCommerce.EntitiesV2.PurchaseOrder, UCommerce, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

    This exception occurs in this line:

    var basket = SiteContext.Current.OrderContext.HasBasket ? SiteContext.Current.OrderContext.GetBasket() : null;

    I have no idea how to fix this. Please help.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Aug 15, 2012 @ 14:17
    Søren Spelling Lund
    0

    It means that uCommerce can't find the type in question. In this case the Repository which is located in the UCommerce.dll

    Make sure that you /bin folder contains the UCommerce.dll from the 2.6.1.0 package zip. Better yet grab all the DLLs from the zip and add them to your /bin to make sure that they're all there.

  • Søren Erland Vestø 19 posts 42 karma points
    Aug 15, 2012 @ 14:24
    Søren Erland Vestø
    0

    I thought I did. But it turns out that I'd missed a few (NHibernate amongst others). After adding the missing DLL's the error disappeared.

    Thank you. :-)

  • Søren Spelling Lund 1797 posts 2786 karma points
    Aug 15, 2012 @ 14:33
    Søren Spelling Lund
    0

    Awesome!

Please Sign in or register to post replies

Write your reply to:

Draft