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!
7.0.4 Hot Patch Tip for System.Security.SecurityException
-
- Ensign (ENS)
- Posts: 11
- Joined: Wed Feb 17, 2010 8:50 pm
Re: 7.0.4 Hot Patch Tip for System.Security.SecurityException
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
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