Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OnShutdown event in a Windows Service
Message
From
30/03/2014 16:04:24
 
 
To
30/03/2014 15:57:05
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:
01597721
Views:
25
This message has been marked as a message which has helped to the initial question of the thread.
>...or because it is not supported on Windows Server 2003, this might explain why this does not work. This is the test server I have right now. So, I will have to move my tests into another server which will be Windows Server 2008. I will then assume that everything was ok with the code, if the default is ON, and SERVICE_CONTROL_PRESHUTDOWN would work.

Have you seen http://msdn.microsoft.com/en-us/library/windows/desktop/ms685149%28v=vs.85%29.aspx ?
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform