EMAB, Impersonation, & Access Denied to Event Log in ASP.NET

Discussion in 'ASP .Net Security' started by Jaloha, Jul 2, 2004.

  1. Jaloha

    Jaloha Guest

    Hi,

    I am working on an ASP.NET project and wanted to use the
    Exception Management Application Block to do my error
    logging.

    With the ASP.NET App I am an Adminsitrator on the dev box
    and it worked under my account. When I implemented
    Impersonation using an account that is not an
    Administrator I get an Access Denied Error when trying to
    log the Exception. If I add the user being impersonated
    to the Administrators group then it works fine. But it is
    not acceptable for this worker process user to have that
    level of access. And it really makes me wonder about how
    the EMAB works...

    I read through an earlier post relating to this problem
    but it was of no help to me. I am hoping that since that
    thread was posted many months ago some more people have
    run into this same problem and might know why it is
    occuring since the event source and log have already been
    created a while ago.

    Any ideas on what is causing it and how to fix it without
    having to edit Registry settings and the like??? I am
    looking for a more general explanation and solution, as I
    do not have the time or energy to go through registry
    setting setting and system moniters just to use an
    Application Block. I picked tho Block for ease of use -
    not so I could debug why it won't write to the Event
    Log... so much for that...


    I wanted to use this EMAB but this type of problem makes
    it almost completly useless to me....

    Any help would be greatly appreciated!

    thanks for reading this.
     
    Jaloha, Jul 2, 2004
    #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. Henrik_the_boss
    Replies:
    0
    Views:
    2,715
    Henrik_the_boss
    Nov 5, 2003
  2. Vikram
    Replies:
    0
    Views:
    786
    Vikram
    Apr 5, 2006
  3. Replies:
    0
    Views:
    330
  4. JimLad
    Replies:
    0
    Views:
    642
    JimLad
    Jan 26, 2010
  5. SJ

    EMAB, Impersonation and Event log

    SJ, Nov 11, 2003, in forum: ASP .Net Security
    Replies:
    8
    Views:
    152
Loading...

Share This Page