NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on January 17, 2012, 03:02:50 AM
-
Hi Guys,
What is the easiest or best way to prevent an administrator of closing the web server window on the server?
-
Hi Rupert,
Run it as a service.
Rene
-
The real question is why would they? Presumably you'd have it running as a service, and if your IT staff are in the habit of stopping arbitrary services then I guess you have big problems anyway. Or more accurately, it's not your problem at all.
I find that a horse-whip across both eyeballs though does tend to encourage compliance.
cheers
Bruce
-
Thanks Rene, Bruce :-)
Is it simply a matter of dropping SelfSevice into the app to run the web-sevice as a 'Windows service'?
Any cons?
-
Not a lot to making a service;
a) use SelfService - read the docs so you understand what you are doing and how to do it.
b) I recommend using both WinEvent and MessageBox in the app as well. MessageBox traps any MESSAGE statements (and you set messagebox to time them out, and optionally log them for you). also WinEvent so the service closes smoothly when Windows closes and so on.
Cheers
Bruce