Re: custom event log
From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: Thu, 23 Jun 2005 09:33:41 -0500
What he said applies to both.
Generally with ASP.NET apps, you create your event source as part of the
deployment process and then just write to the event source from the app. If
the app attempts to create the event source itself, it will generally fail
unless you have configured ASP.NET to run as a local admin which is
generally regarded as a really bad idea.
<dl> wrote in message news:OZhNli$dFHA.2500@TK2MSFTNGP10.phx.gbl...
> Hi Dominick
> I am still on 1.1, and will not be using 2.0 in the near future though!
> "Dominick Baier [DevelopMentor]" <firstname.lastname@example.org>
> wrote in message news:email@example.com...
>> Hello dl,
>> there is a EventLog.CreateEventSource() method. But you need
>> privs to create an Event Source - so it will likely not work from asp.net
>> Dominick Baier - DevelopMentor
>> > Hi
>> > Has anyone successfully created a custom event log from asp.net /
>> > simply
>> > editing the Reg?! Can you share how, please?!
>> > TIA