Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OnShutdown event in a Windows Service
Message
De
30/03/2014 15:47:25
 
 
À
30/03/2014 15:28:29
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01597504
Message ID:
01597718
Vues:
23
>>It sounds like you have a situation where *any* downtime starts generating support calls. If that's the case you should ideally be looking at high availability e.g. clustering. If you're able to use HA then again most if not all of these issues go away.
>
>I just need to find why the OnCustomCommand() event does not trigger when I send a command to restart from the command line. Then, I will able to resolve that issue.
>
>I have been checking into winsvc.h. This is where all the code values are sent to that event from reflection. I just cannot find that file on my PC and all those that I find on the Internet are not adequate, old or partial. I cannot even find the PRESHUTDOWN code in there despite the fact that I know it is 100.

Since overriding a shutdown is frowned on you may be running into hard coded checks, safeties or timeouts.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform