Share via


ASP generates Permission Denied errors in event log for global.asa

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1

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.