Re: Event log access problem with ASP.NET



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.com
Does 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



.



Relevant Pages

  • Re: Help! Error: aspnet_wp.exe (PID: xxxx) stopped unexpectedly
    ... there was no entry in event log related to recycling. ... The error was due an exception generated by the HashTable.Addmethod(in my ... The worker process was indeed bringing up the debugger selection panel(with ... Have you found any recycle record in eventlog?... ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IIS/SQL Crashing
    ... > Based on event log, there is probably a fatal error in your application ... > user-mode debug of the worker process memory space at the time of the ... >> time it seems that the IIS stop communicating with the SQL server. ... >> Robert Abela ...
    (microsoft.public.inetserver.iis.security)
  • RE: DST Update Errors
    ... HrReadConfiguration:Searching Calendar for Timezone Information. ... HrSpawnOLTool:Spawned worker process as pid - 1728. ... Time Zone Data Update Tool for Microsoft Office Outlook -- ... It looks like it was doing just fine and then read the event log wrong. ...
    (microsoft.public.exchange.admin)
  • Re: IIS/SQL Crashing
    ... Based on event log, there is probably a fatal error in your application that ... user-mode debug of the worker process memory space at the time of the crash. ... crashes. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Event log access problem with ASP.NET
    ... Phil Turtle wrote: ... > We're using the Application block for publishing exceptions from our web ... > 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. ...
    (microsoft.public.dotnet.framework.aspnet.security)

Quantcast