Re: custom event log
Date: Thu, 23 Jun 2005 23:35:54 +0800
But do I get CreateEventSource in 1.1, I can't find it in the SDK doc? I
can only find the related documentation online and it said supported in .NET
"Joe Kaplan (MVP - ADSI)" <firstname.lastname@example.org> wrote
in message news:OeVQOCAeFHA.796@TK2MSFTNGP09.phx.gbl...
> 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.
> 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.
> Joe K.
> <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]" <email@example.com>
> > wrote in message news:firstname.lastname@example.org...
> >> Hello dl,
> >> there is a EventLog.CreateEventSource() method. But you need
> > administrative
> >> privs to create an Event Source - so it will likely not work from
> >> directly.
> >> ---------------------------------------
> >> Dominick Baier - DevelopMentor
> >> http://www.leastprivilege.com
> >> > Hi
> >> > Has anyone successfully created a custom event log from asp.net /
> >> > simply
> >> > editing the Reg?! Can you share how, please?!
> >> > TIA
> >> >