Login  
Search All Forums
Dart Home | PowerTCP WebServer for ActiveX | Custom Development Reply | PowerTCP WebServer for ActiveX Topics | Forums   
AuthorForum: PowerTCP WebServer for ActiveX
Topic: Service control -
chris@digitalinsights.com

From: San Clemente, CA USA
Posts: 73
Member Since: 11/03/03
posted November 28, 2005 12:34 PM

Every 30 seconds, the service_status files with the status of "service has started". I have check to see if .connect is being triggered but it is not. There are no timers in my program to make this 30 second repetition happen. It only happens on certain computers. The locality of the computer is UK, I dont know if this matters.

Thanks

Chris Lewis
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 29, 2005 2:30 PM

Sorry, but this is not ringing any bells. You'll have to try to isolate it further before we can help with this one. Try to figure out exactly what is different on the machines.
todro

From: Waiblingen, Germany
Posts: 6
Member Since: 10/22/03
posted April 3, 2007 5:58 PM

Hi,

I also detected this behaviour, mostly on Server2003.

It looks like the dart webserver service start event is "fired" periodically, although the intervall seems to be 15 seconds not 30 seconds in my case. Somehow, this looks like it is related to the service dispatcher.

It is exactly the message the webservice sends to the eventlog (APP) when starting from the control panel

The problem seems to be solved when restarting the service by the control panel but re-occures after a certain period of time and remains until server reboot or service restart.

Regards,

Torsten
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 3, 2007 8:01 PM

I've tried searching for this article awhile back but could not remember who the original poster (Hi Chris!) and could not get the right keywords to narrow it down via search.

In any event (no pun intended) I started experiencing the same thing a couple months ago with one of the apps we use internally. I still haven't determined the cause but I work around it by putting the following code at the beginning of the Service1_State event:

Static oldState As DartServiceCtl.StateConstants
Static curState As DartServiceCtl.StateConstants
  
curState = Service1.State
If curState = oldState Then Exit Sub
oldState = curState
  
Reply | PowerTCP WebServer for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX