EventLogTraceListener Security Exception

From: clintonG (csgallagher_at_REMOVETHISTEXTmetromilwaukee.com)
Date: 08/11/04

  • Next message: Lynz: "How To Create STRONG NAME ?????? Pls HElp"
    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/
    

  • Next message: Lynz: "How To Create STRONG NAME ?????? Pls HElp"

    Relevant Pages

    • EventLogTraceListener Security Exception
      ... EventLogTraceListener as I am getting an Security Exception ... After submitting the error message to Google and reading of solutions ... Security Policy All_Code LocalIntranet_Zone to Full Trust and no joy. ... Requested registry access is not allowed. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: Form Security
      ... After all this, if no error message has been generated, the form contents are emailed to me. ... I'm no Linux guru, so I don't know what someone could do to cause problems with this script, other than spam me. ... What he's proposing is false security - which is worse than no security ...
      (comp.lang.php)
    • Re: Form Security
      ... I am running it through trimand strip_tags, but haven't decided yet on a regular expression to use, or even if I really need to. ... After all this, if no error message has been generated, the form contents are emailed to me. ... I'm no Linux guru, so I don't know what someone could do to cause problems with this script, other than spam me. ... What he's proposing is false security - which is worse than no security ...
      (comp.lang.php)
    • Re: Unable to open Project 2003 Project Plan
      ... A quick google search on the error message in the project newsgroups ... rolling out SP-3 any time soon. ... I see this as a serious BUG created by Microsoft in a security ... I'm using Microsoft Project 2003 Service Pack 2 and I'm running ...
      (microsoft.public.project)
    • Re: Main Dialogue error
      ... Windows help - www.rickrogers.org ... "Susan Flors" wrote in message ... > under msconfig I couldn't locate anything that said "security center" only ... >> this one Christmas - I get one error message that occurs while I boot up ...
      (microsoft.public.windowsxp.general)

    Loading