Ask a Question related to ASP.NET Security, Design and Development.
-
Jaloha #1
EMAB, Impersonation, & Access Denied to Event Log in ASP.NET
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 Guest
-
Win XP event log: Access denied
Hi, I have an ASP.NET web site using event log to log errors. My home server used to be Win 2000 and it has always worked fine. Few days ago, I... -
Access Denied using Impersonation
I am developing an intranet application that uses windows authentication and impersonation. The problem I'm having is that it seems when the... -
EMAB, Impersonation and Event log
Hi all, I'm having a problem in ASP.NET enabling write access to the system event log using EMAB, which uses System.Diagnostics.WriteEntry under... -
Access Denied and Impersonation
Hi, I need to use impersonation in in my ASP.NET applicaiton. But when I set it to "true" in the Web.config file, the "Access Denied" message... -
Newbie: Access denied error when using impersonation
I've written a simple web service in which I'm accessing some DLLs. When I run it, I get following error: CS0009: Metadata file...



Reply With Quote

