Working with EventViewer

  • Thread starter Thread starter Paperback Writer
  • Start date Start date
P

Paperback Writer

Hi, I have problems of security when i try to generate an event viewer, how
do i solve this problem ?

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:
 
asp.net usually does not have permission to create the event source which is
actually a registry entry. create the source yourself, or give the asp.net
account write permission to the register using regedt32. the path is:


hkey_local_machine\system\curr­entcontrolset\services\eventlo­g\application


-- bruce (sqlwork.com)
 
Back
Top