Re: Event Logging from ASP.NET
- From: "George Ter-Saakov" <gt-nsp@xxxxxxxxxxx>
- Date: Tue, 19 Jun 2007 15:32:14 -0400
Not sure what type of solution you looking for.
New "source" is a simple entry in a registry.
You can
a) created manually
b) create using program that runs under Admin rights.
You choose.
Another option would be not to log into event log and intead send an email
with error info.
That is how all my online application work.
So usually i am there fixing bugs before user called me.
George.
"Andrew Robinson" <nemoby@xxxxxxxxxxxxx> wrote in message
news:%23spBWOqsHHA.4888@xxxxxxxxxxxxxxxxxxxxxxx
Ok, if I can't create a new Source and I really don't want to require a
user to first run some type of desktop app, any suggestions on an existing
source that is likely to exist that I can use?
-Andy
"George Ter-Saakov" <gt-nsp@xxxxxxxxxxx> wrote in message
news:OZIYoHqsHHA.1324@xxxxxxxxxxxxxxxxxxxxxxx
The "issue" is still there. You can not create new source. But since you
do it only once simply have a desktop program that does it and run it
under Admin account.
Then your ASP.NET will be able to write into event log.
George
"Andrew Robinson" <nemoby@xxxxxxxxxxxxx> wrote in message
news:%23sk%23KBqsHHA.4600@xxxxxxxxxxxxxxxxxxxxxxx
In the past, I remember all kinds of security related issues when trying
to write to the event log but don't remember the specifics. Was there an
issue with creating a new source?
Can you write if you are using the ASP.NET account or Network Services
account? Did this change with .NET v2.0 and/or Win 2003 SP1?
thanks,
.
- References:
- Event Logging from ASP.NET
- From: Andrew Robinson
- Re: Event Logging from ASP.NET
- From: George Ter-Saakov
- Re: Event Logging from ASP.NET
- From: Andrew Robinson
- Event Logging from ASP.NET
- Prev by Date: Re: Event Logging from ASP.NET
- Next by Date: Re: System.Transactions vs System.Data
- Previous by thread: Re: Event Logging from ASP.NET
- Next by thread: Re: Event Logging from ASP.NET
- Index(es):
Relevant Pages
|