EventLogTraceListener Security Exception
From: clintonG (csgallagher_at_REMOVETHISTEXTmetromilwaukee.com)
Date: 08/11/04
- Previous message: Eugene Mayevski [SecureBlackbox]: "Re: .net 2 and SSLStream"
- Next in thread: Valery Pryamikov: "Re: EventLogTraceListener Security Exception"
- Reply: Valery Pryamikov: "Re: EventLogTraceListener Security Exception"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 10 Aug 2004 19:13:04 -0500
I 'think' my problem is the result of my attempts to use an
EventLogTraceListener as I am getting an Security Exception
as follows in this scenario...
XP SP1a IIS 5.1 (new install with all updates applied)
ASP.NET Machine Account: Read & Execute, List, Read (added)
After submitting the error message to Google and reading of solutions
to 'similar' problems that share the same error message I tried using
aspnet_regiis.exe to no avail. I've tried setting the Runtime Security
Policy > All_Code > LocalIntranet_Zone > Full Trust and no joy.
The problem seems to be that the application can not access the
Registry. Now I'm clueless. The error message follows...
Description: The application attempted to perform an operation not
allowed by the security policy. To grant this application the required
permission please contact your system administrator or change the
application's trust level in the configuration file.
Exception Details: System.Security.SecurityException:
Requested registry access is not allowed.
Line 56: Debug.WriteLine("END: TraceSwitch");
Can someone shed some light on what I might consider next?
--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET csgallagher@REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/
- Previous message: Eugene Mayevski [SecureBlackbox]: "Re: .net 2 and SSLStream"
- Next in thread: Valery Pryamikov: "Re: EventLogTraceListener Security Exception"
- Reply: Valery Pryamikov: "Re: EventLogTraceListener Security Exception"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|