Re: Allowing asp.net application to manipulate eventlog ?
From: Harry Simpson (hssimpson@nospamphgt.net)
Date: 08/21/02
- Next message: Harry Simpson: "Re: Web Permissions"
- Previous message: Roger Eastman: "Re: Web Permissions"
- In reply to: marlon r: "Allowing asp.net application to manipulate eventlog ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Harry Simpson" <hssimpson@nospamphgt.net> Date: Wed, 21 Aug 2002 13:53:26 -0500
You have to set up the custom eventlog in advance (ie. manually)
1. START - RUN - "regedit"
2. Under
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application
3. Right-click Application and select NEW then KEY
4. Enter "MyNetLog" or whatever your log will be called and press ENTER
5. Next Right-click on the new key and select NEW then STRING VALUE
6. Enter "EventMessageFile" and press ENTER
7. Double-click the new string value to add data
8. Add the path to your .NET directory and the file EventLogMessages.dll
It will look like this-
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\EventLogMessages.dll
Now the ASPNET account can access this log to write/read event entries.
HTH
Harry
"marlon r" <mreid@exhibitworks.com> wrote in message
news:OMn29GUSCHA.2400@tkmsftngp13...
> Without giving aspnet user account administrator rights/permissions, how
> can I allow aspnet user to manipuplate the windows eventlog
>
>
>
>
- Next message: Harry Simpson: "Re: Web Permissions"
- Previous message: Roger Eastman: "Re: Web Permissions"
- In reply to: marlon r: "Allowing asp.net application to manipulate eventlog ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]