Re: Abort service start in OnStart

Tech-Archive recommends: Speed Up your PC by fixing your registry



Thanks to both of you.

I'll go for the exception then. When using ServiceBase.Stop the messages in the eventlog are even mor confusing.

Mike
.



Relevant Pages

  • Re: Byrns & Jute Plagiarize Magnequest Designs?
    ... content, not just for exception. ... matter at this time. ... L. has offered you his encouragement in your battle with Andre. ... WTF is "Mike L"? ...
    (rec.audio.tubes)
  • Re: XLANG throws an exception while trying to log an exception to the Event Log
    ... I am not programatically writing to the EventLog for the piece of code ... The internal XLANG/s incurs an exception which it then tries to log to ... The most simple way to "intercept the original message" is to enable ... the tracking feature for the port, just right click on it and mark ...
    (microsoft.public.biztalk.general)
  • Re: Help! i need your kindly help !
    ... You used try but you didn't catch the exception thrown. ... You can open before your foreach loop. ... > i wrote the below code, just want got local machine application Eventlog ... > OleDbConnection conn = new OleDbConnection; ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: debugging ASP NET in a remote web server with remote file serv
    ... default setting of exception page is only available to local visitor. ... Thus we can get the detailed exception info when you encountering error at ... I think the following log entries are also necessary to have ... The eventlog and IIS log on SRV1 ...
    (microsoft.public.vsnet.debugging)
  • Logging Unhandled Exceptions
    ... unter Zuhilfenahme der EventLog Klasse unhandled exceptions loggen. ... Gebe ich eine ErrorPage an zeigt er diese, ... steigt der Code immer aus. ... an der ich die Exception produziere hat keine ErrorPage verweise. ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)