7.0.4 Hot Patch Tip for System.Security.SecurityException

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
terrysmith
Ensign (ENS)
Ensign (ENS)
Posts: 11
Joined: Wed Feb 17, 2010 8:50 pm

7.0.4 Hot Patch Tip for System.Security.SecurityException

Post by terrysmith » Sat Jun 05, 2010 2:43 pm

I was in the process of applying the hot patches for 7.0.4 when I started getting a System.Security.SecurityException error on every page. I couldn't even go to /Install/TestPermissions.aspx without getting this exception.

I backed out all of my changes one by one until I discovered it was CommerceBuilder.dll (version 7.4.13541.0). If I put the old version back in, the problem would go away. As soon as I copied in this new version the problem stopped. I'm running IIS 7 64-bit.

I found the solution here:
http://dbvt.com/blog/post/AspNetHosting ... -IIS7.aspx

I set the Load User Profile flag on the Application Pool to True and the problem went away.

If anyone knows if this setting has bad side-effects and/or if there is a better solution please let me know, or why I should have to set this to begin with!
___________________
Terry Smith, Stunique Inc.
http://www.stunique.com/

User avatar
Kalamazoo
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 42
Joined: Wed Apr 01, 2009 6:10 pm

Re: 7.0.4 Hot Patch Tip for System.Security.SecurityException

Post by Kalamazoo » Sat Jul 31, 2010 8:40 pm

Hi Terry,

This is a good topic. Sorry it did not get answered sooner. I looked at my IIS 7 64-bit settings and we have Enable 32 bit set to True and we have the Load User Profile flag on the Application Pool to False and have yet to have any trouble on upgrades, knock on wood. I am going to ask the data center why the Allow 32 bit is set to True.

Best wishes,

Phil Chrisman

Post Reply