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.

  • René Pjengaard 118 posts 702 karma points c-trib
    Jul 07, 2010 @ 22:33
    René Pjengaard
    0

    Yet another problem with adding products to basket via xslt

    Hi there, anyone know why i keep getting this exception when i try to add to basket (via AddToBasket[XSLT].xslt)

    umbracoMacro InnerException Object reference not set to an instance of an object.
    Object reference not set to an instance of an object.
      at UCommerce.Runtime.OrderContext.PersistBasketId(Guid basketId)
      at UCommerce.Runtime.OrderContext.CreateBasket()
      at UCommerce.Runtime.OrderContext.GetBasket(Boolean create)
      at UCommerce.Xslt.ClientContext.GetBasket(Boolean create)
      at UCommerce.Xslt.TransactionLibrary.AddToBasket(String catalogName, Int32 quantity, String sku, String variantSku)
      at UCommerce.Xslt.Library.<>c__DisplayClass31.<AddToBasket>b__30()
      at UCommerce.Xslt.Library.HandledCall[T](Func`1 method)
      at UCommerce.Xslt.Library.AddToBasket(String catalogName, Int32 quantity, String sku, String variantSku)

  • Lasse Eskildsen 34 posts 57 karma points
    Jul 09, 2010 @ 08:39
    Lasse Eskildsen
    1

    Hi,

    Are you running IIS7? Can you verify that you have the runAllManagedModulesForAllRequests to true in web.config?

      <system.webServer>
        <modules runAllManagedModulesForAllRequests="true">

    Let me know how it works out.

    - Lasse

  • René Pjengaard 118 posts 702 karma points c-trib
    Jul 09, 2010 @ 10:01
    René Pjengaard
    0

    Thank you Lasse, you rock!! ;-)

Please Sign in or register to post replies

Write your reply to:

Draft