Hello!
I've created simple win service. (framework 2.0, CSharp)
It seems to be working for 1 or 2 hours, than it stops. Without any exceptions or errors.
Just stopped.
What is it ???????????
Thanks
WINDOWS service problem
5 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Thiruvengidachalapathi6 pointsPosted Jun 18, 2007, 3:59 AM EDT
Arkady5 pointsPosted Jun 18, 2007, 4:00 AM EDT
Yes, i can start it again and there is NO any error... it just stops.
Thiruvengidachalapathi6 pointsPosted Jun 18, 2007, 4:19 AM EDT
plz check on EventViewer System log..how it is stopped...
the log looks "
The Myservice service was successfully sent a stop control.
The Myservice service entered the stopped state.
or is it giving any error..
Arkady5 pointsPosted Jun 18, 2007, 5:06 AM EDT
The Tele2SmppService service terminated unexpectedly. It has done this 9 time(s).
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp
Thiruvengidachalapathi6 pointsPosted Jun 19, 2007, 1:44 AM EDT
this can have a lot of reasons(running out of memory/calling the DLL may fail..).so u need to handle the exepetion on all threads or u need to debug ,then only we can get correct reason..