Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OnShutdown event in a Windows Service
Message
From
30/03/2014 15:28:29
 
 
To
30/03/2014 15:25:21
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01597504
Message ID:
01597716
Views:
20
>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.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform