Error trying to write to a LogFile

From: Marlene A. Roman (mararauz@earthlink.net)
Date: 06/03/02


From: "Marlene A. Roman" <mararauz@earthlink.net>
Date: Mon, 3 Jun 2002 10:55:35 -0700


Hello! How is everybody???

I'm trying to write to a LogFile and I'm receiving an
error security. It says that the security policy does not
allow this operation. My web.config and machine.config
are the defaults (I haven't changed anything). So the
question is what is the I need to changed in this files

The following is the error that I am receiving

Security Exception
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.

Thank you very much in advance

Marlene A. Roman



Relevant Pages

  • Re: security exception for aspx page
    ... operation not allowed by the security policy. ... To grant ... > by its ToString method)? ... >> getting security exception whereas other pages in the same project don't. ...
    (microsoft.public.dotnet.security)
  • Security Exception ! Help me please!!
    ... Server Error in '/ThePhile' Application. ... Security Exception ... by the security policy. ... To grant this application the required permission ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Security exception permission denied
    ... SECURITY EXCEPTION ... The application attempted to perform an operation not allowed by the security policy. ... To grant this application the required permission please cpmtact your system administrator or change the application“s trust level in the configuration file... ... What is the configuration file?? ...
    (microsoft.public.dotnet.languages.csharp)