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.
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.
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?
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"
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.
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
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.
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
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.
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"
You'll also need a machinekey in system.web. Machine keys can be generated here: http://aspnetresources.com/tools/machineKey
is working on a reply...