ASP generates Permission Denied errors in event log for global.asa
Updated: August 22, 2005
Earlier versions of ASP executed events in the security context (or user identity) of the host process because there is no user context during these events. This caused problems, such as access denied errors when writing to a file in the Session_OnEnd event. ASP, by default, now runs the global.asa events, Application_OnEnd and Session_OnEnd, anonymously (the default value is true).
To change this setting programmatically, see AspRunOnEndAnonymously Metabase Property .