Impersonation and Custom Event Log - write access denied

Discussion in 'ASP .Net' started by JimLad, Jan 26, 2010.

  1. JimLad

    JimLad Guest

    Hi,

    I have created a Custom Event Log. My ASP.NET application is
    impersonating a specific Windows Account that currently has no
    permissions on the web server, apart from Modify access to C:\WINDOWS
    \Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files.

    I cannot currently write to the event log. I am using the Logging
    Application Block.

    What is the best practice way of writing to the event log when using
    impersonation? I'd like to do this from within ASP.NET if possible and
    I want to avoid raising permissions as far as possible.

    Cheers,

    James
    JimLad, Jan 26, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Vikram
    Replies:
    0
    Views:
    753
    Vikram
    Apr 5, 2006
  2. SJ

    EMAB, Impersonation and Event log

    SJ, Nov 11, 2003, in forum: ASP .Net Security
    Replies:
    8
    Views:
    125
  3. Jaloha
    Replies:
    0
    Views:
    159
    Jaloha
    Jul 2, 2004
  4. Stephane

    Win XP event log: Access denied

    Stephane, Jan 17, 2005, in forum: ASP .Net Security
    Replies:
    3
    Views:
    178
    Stephane
    Jan 18, 2005
  5. Replies:
    0
    Views:
    1,260
Loading...

Share This Page