Write to IIS/Event Log File ?
From: Angelos Karantzalis (akarantzalis_at_yahoo.com)
Date: 11/12/04
- Next message: Peter Jausovec: "Re: Click through window"
- Previous message: Juan: "Is there a simple way to select a row which has been just inserted in a dataset binded to a datagrid?"
- Next in thread: Leon Mayne [MVP]: "Re: Write to IIS/Event Log File ?"
- Reply: Leon Mayne [MVP]: "Re: Write to IIS/Event Log File ?"
- Reply:(deleted message) UAError: "Re: Write to IIS/Event Log File ?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 12 Nov 2004 13:14:31 +0200
Hi y'all,
recently I've come across a situation where a web service needs to deal
with an exception that might arise, originating from a COM+ component. It
then returns an int value (please don't ask me why) indicating that there
was something wrong with the requested operation.
Assuming that I don't really know all the posible exceptions that might
arise from the COM+ layer, and therefore I can't accurately return an int
identifying the exception, I need a way to log the actual exception trace,
either in the web service, or in the COM+ layer.
Writting to the event log threw me Security Exceptions, because ASPNET
doesn't have write access to the event log. Since the COM+ level runs under
the same identity apparently, I can't do it there either ..
So, question: how can I log either into the IIS Log, or the Event log from a
web service ?
Cheers,
Angel
O:]
- Next message: Peter Jausovec: "Re: Click through window"
- Previous message: Juan: "Is there a simple way to select a row which has been just inserted in a dataset binded to a datagrid?"
- Next in thread: Leon Mayne [MVP]: "Re: Write to IIS/Event Log File ?"
- Reply: Leon Mayne [MVP]: "Re: Write to IIS/Event Log File ?"
- Reply:(deleted message) UAError: "Re: Write to IIS/Event Log File ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|