Writing to the EventLog
From: Brad Quinn (brad_quinn@yahoo.com)
Date: 07/05/02
- Next message: Brad Quinn: "Re: Writing to the EventLog"
- Previous message: Marco Paci: "Datagrid security hole????"
- Next in thread: Brad Quinn: "Re: Writing to the EventLog"
- Reply: Brad Quinn: "Re: Writing to the EventLog"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Brad Quinn" <brad_quinn@yahoo.com> Date: Fri, 5 Jul 2002 16:02:17 -0500
I'm trying to create an assembly with a logging class that writes to the
EventLog, just like Duwamish.
When I invoke my Log method from an WebForm I get the following exception;
System.Security.SecurityException: Requested registry access is not
allowed.
This makes perfect sense, but I need to get around it.
I've tried using the "Microsoft .NET Framework Configuration" tool to
increase the level of trust of my assembly. I'm trying to operate directly
on the file "wwwroot\Web\bin\Logger.dll", without much luck. Do I need to
increate the trust of the calling assembly?
Thanks,
Brad
- Next message: Brad Quinn: "Re: Writing to the EventLog"
- Previous message: Marco Paci: "Datagrid security hole????"
- Next in thread: Brad Quinn: "Re: Writing to the EventLog"
- Reply: Brad Quinn: "Re: Writing to the EventLog"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
Loading