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

J

Jaloha

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top