PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD19]  Stopping a service
[WD19] Stopping a service
Iniciado por guest, 28,abr. 2015 15:34 - 1 respuesta
Publicado el 28,abril 2015 - 15:34
Hi,

created my first 'service' from the example. All things are working fine, just a curios thing.

When I am stopping the Service inside the Windows Task Manager, the Service stops like expected and the state in Task Manager flags 'Stopped', too.

Then after some time (about 60 seconds) a message from Windows Pops up (it's in german so try to translate):

In the Header : The Service could not be stopped
In the message: The execution could not be finished / The Service did not answer in time to the request for starting or control.

Anybody who knows what that means and how to avoid. As said before, everything else is working as it should.

greetings

Erik
Publicado el 28,abril 2015 - 16:17
Hi for all who want to know:

in my running procedure i had a wait of 5 minutes (do not Need to do things very often) and this seems to block the reaction on the request from Windows.

Changed the wait to 20 seconds and all is fine.

Greetings

Erik