RE: Exception Management App Block - System.ComponentModel.Win32Except
- From: v-schang@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Fri, 01 Apr 2005 08:42:37 GMT
Hi Steven,
Welcome to ASP.NET newsgroup.
>From your description, you're getting the Access Denied WIN32 exception
when using the Enterprise Library's Exception Handling Application block
,yes?
I'm sure you're using the LoggingHandler , and specifying some eventlog
entry to log into? Is the problem occurs just when you use the default
logging setting to log some entry into the Application eventlog?
Also, as you mentioned that you're using impersonation in your asp.net
application, did you impersonate the client user's idenity or a fixed
account. Is it possible that the impersonated account dosn't have the
proper permission to access the eventlog? I suggest that you turn off the
impersonate and switch your process identity to "LOCAL SYSTEM" and test
again to see whether it works. This can ensure that the problems is caused
by account permission issue.
If there is any further findings, please feel free to post here also.
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
.
- Follow-Ups:
- RE: Exception Management App Block - System.ComponentModel.Win32Except
- From: Steven Cheng[MSFT]
- RE: Exception Management App Block - System.ComponentModel.Win32Except
- References:
- Prev by Date: Re: Uploading file to local host
- Next by Date: Could not create 'CDO.Message' object
- Previous by thread: Exception Management App Block - System.ComponentModel.Win32Except
- Next by thread: RE: Exception Management App Block - System.ComponentModel.Win32Except
- Index(es):
Relevant Pages
|
Loading