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.

  • wolulcmit 357 posts 693 karma points
    Feb 22, 2014 @ 02:13
    wolulcmit
    0

    uCommerce Staging site error

    Have copied my uCommerce installation to a staging site (same server) to do some work on it, but uCommerce no longer works (Xslt errors for every xslt that uses uCommerce)

    this is the error in the logs

    Object reference not set to an instance of an object. Int32 CurrentMemberId() at umbraco.cms.businesslogic.member.Member.CurrentMemberId() at UCommerce.Marketing.TargetingContextAggregators.MemberPopulator.Populate(TargetingContext targetingContext) at UCommerce.Marketing.TargetingContextAggregators.TargetingContextAggregator.Populate() at UCommerce.Marketing.MarketingService.GetTargetedCampaignItems() at UCommerce.Xslt.MarketingLibrary.GetTargetedCampaignItems() at UCommerce.Xslt.Library.HandledCall[T](Func`1 method)


    any idea what I need to do to get uCommerce back in action?
    have checked all the usual hostname gotchas.

    - Tim

  • Nickolaj Lundgreen 233 posts 1132 karma points
    Feb 23, 2014 @ 09:52
    Nickolaj Lundgreen
    100

    Do the staging site have some kind of login that the live site doesn't?

  • jivan thapa 194 posts 681 karma points
    Feb 23, 2014 @ 12:13
    jivan thapa
    0

    did you copy the database as well?

  • wolulcmit 357 posts 693 karma points
    Feb 23, 2014 @ 13:58
    wolulcmit
    0

    @Jivan Yep copied that database as well.
    So turning basic authentication off and re-enabling annonymous authentication in IIS fixed the problem. Thanks @Nikolaj! I never would have thought to check that this could be the source of the problem.

    - Tim

  • Nickolaj Lundgreen 233 posts 1132 karma points
    Feb 23, 2014 @ 15:14
    Nickolaj Lundgreen
    0

    If your site doesn't use the member target for it's marketing campaigns you can disable it ( can't remember what config) and keep the basic authentication running:)

Please Sign in or register to post replies

Write your reply to:

Draft