Copied to clipboard

Flag this post as spam?

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


  • Giovanni Sidoel 89 posts 225 karma points
    Oct 23, 2013 @ 14:15
    Giovanni Sidoel
    0

    Teacommerce with 32-bit disabled on application pool

    Hey Guys,

    I've noticed that when turning of 32-bit support on my application pool that I seem to lose my orderId between pages (even between cart steps). Is this a known issue?

    I'm hosted with Arvixe, and I really need to turn off 32-bit on the app pool for the site to work flawlessly.

  • Anders Burla Johansen 2560 posts 8256 karma points
    Oct 23, 2013 @ 15:13
    Anders Burla Johansen
    0

    Hmm that sounds weird! I have never tried that. How do I configure that in the IIS so I can test it? DO you use the starter kit or own install?

    Kind regards
    Anders

  • Giovanni Sidoel 89 posts 225 karma points
    Oct 23, 2013 @ 19:10
    Giovanni Sidoel
    0

    Starter Kit. In IIS7 just right click on the application pool your site uses and then choose Advanced settings. The second option under general is Enable 32-bit Applications. Just set it to false. And possibly recycle your app pool for it to take effect.

  • Anders Burla Johansen 2560 posts 8256 karma points
    Oct 24, 2013 @ 10:15
    Anders Burla Johansen
    0

    I have just installed Tea Commerce in an empty Umbraco solution and checked that the "Enable 32-Bit Applications" is false for the app pool (which is default for a clean IIS7) and everything works fine and my order id is the same between page loads.

    Have you some cookie or session blocker in your browser that doesnt allow TC to save the order id in session or in a cookie?

    Kind regards
    Anders

  • Giovanni Sidoel 89 posts 225 karma points
    Oct 24, 2013 @ 15:48
    Giovanni Sidoel
    0

    Anders,

    After some more digging I've come to the conclusion that it's not something wrong with TeaCommerce. I thinks it's something wrong with our host.

    On another site which I have 32-bit disabled, I also noticed loss of session and/or cookies. But this time in the Umbraco back-end. I think it has something to do with the application pool recycling. See http://our.umbraco.org/projects/website-utilities/ucommerce/ucommerce-support/42930-Logout-problems-after-install

    Thanks for looking into it anyways.

  • Giovanni Sidoel 89 posts 225 karma points
    Oct 25, 2013 @ 21:17
    Giovanni Sidoel
    100

    Ok guys. If anyone ever runs in to this problem here's the situation.

    Problem: Your running an umbraco site on Arvixe. You have 32-bit disabled on the application pool because running with 32-bit enabled gives you intermittent compiler errors (code 1). See http://forum.arvixe.com/smf/resellers/compiler-error-message-the-compiler-failed-with-error-code-1/

    But doing so is messing up your sessions. So TeaCommerce won't work properly (orderid's will be dissapear) and also the umbraco back-end will keep logging you out.

    Cause: By default sessions are kept in memory. Arvixe has a memory limit on each app pool. Once that limit has been reached I think they recycle the app pool.

    Solution: Use stateserver to handle your sessions. To do this you have to have the following in your web.config. The default is mode="inproc". chacnge that to mode="stateserver"

    <system.web>
      <sessionState mode="StateServer" cookieless="false" timeout="20" /> 
    </system.web>
    

    You'll also need a machinekey in system.web. Machine keys can be generated here: http://aspnetresources.com/tools/machineKey

Please Sign in or register to post replies

Write your reply to:

Draft