Re: Event log access problem with ASP.NET
- From: Dominick Baier [DevelopMentor] <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 18 Jan 2006 22:40:39 +0000 (UTC)
Hi,
so can you show us the exception details with full stack trace?
--------------------------------------- Dominick Baier - DevelopMentor http://www.leastprivilege.com
As I stated before this is NOT the problem. The Event source already exists. It is NOT - repeat NOT - a registry permission problem
Phil
"Dominick Baier [DevelopMentor]" <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:4580be6319524b8c7e9d5813ff30d@xxxxxxxxxxxxxxxxxxxxx
Hi, as stated before - the asp.net worker process does not have the required rights for the registry key you have two options:
a) change the ACL b) pre-create the EventSource using a console helper that is run by an admin - ASP.NET will be able to use the event log afterwards --------------------------------------- Dominick Baier - DevelopMentor http://www.leastprivilege.comDoes anybody have any real solutions to this problem?
"Phil Turtle" <philip.turtle@xxxxxxxxxx> wrote in message news:OOp6XWCGGHA.2652@xxxxxxxxxxxxxxxxxxxxxxx
We're using the Application block for publishing exceptions from our web site using the default publisher which writes to the event log. This works fine on XP and on one of our dev. machines running Windows 2003. However we now have a problem on a test machine with Windows 2003 where we get a security exception because the process doesn't have access to the event log. The only difference I know of is that the test machine has Windows 2003 SP1. On both W2003 machines IIS6 is running under the default account which supposedly has access to the event log resource.
Has anyone any ideas of how to solve this? Is it due to a change in the O/S service pack?
(We are using .NET 1.1)
Phil
.
- References:
- Re: Event log access problem with ASP.NET
- From: Phil Turtle
- Re: Event log access problem with ASP.NET
- Prev by Date: Re: UniqueEmail problem
- Next by Date: Re: UniqueEmail problem
- Previous by thread: Re: Event log access problem with ASP.NET
- Next by thread: Re: Event log access problem with ASP.NET
- Index(es):
Relevant Pages
|