Re: Security Exception ! Help me please!!
From: Next (aeverett99@hotmail.com)
Date: 07/22/02
- Next message: Bill Carpenter: "PLEASE HELP: Problem with security"
- Previous message: Eagle Tsui: "check and Change Window User Password"
- In reply to: hugepig: "Security Exception ! Help me please!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Next" <aeverett99@hotmail.com> Date: Sun, 21 Jul 2002 22:11:42 -0700
FYI:
After unzipping the downloaded folder, please read index.htm.
"6.
Open Machine.Config (by default in
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\CONFIG) in a text editor, find
the <processModel> section, and set the userName attribute to "SYSTEM". This
is required to enable event logging in ASP.NET Applications -- which we use
in our custom error handling. "
"hugepig" <hugepig2002@yahoo.com> wrote in message
news:edy7kx8FCHA.2656@tkmsftngp10...
>
> Server Error in '/ThePhile' Application.
> --------------------------------------------------------------------------
--
> ----
>
> 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.
>
> Source Error:
>
> Line 27: protected void LogEvent(string message, EventLogEntryType
> entryType)
> Line 28: {
> Line 29: if (!EventLog.SourceExists("ThePhile.COM"))
> Line 30: {
> Line 31: EventLog.CreateEventSource("ThePhile.COM", "Application");
>
>
>
>
- Next message: Bill Carpenter: "PLEASE HELP: Problem with security"
- Previous message: Eagle Tsui: "check and Change Window User Password"
- In reply to: hugepig: "Security Exception ! Help me please!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|