A timer that do not work.

  • Thread starter Thread starter MA
  • Start date Start date
M

MA

Hi all!

I have a webservice that checks for mail every x seconds with a timer.
I had it set up on a win xp computer and it was working fine.

When I recently moved my webservice to a win 2003 server, it seems like the
timer stops working after a while. I have no idea why.

How can it just stop? I´m really out of ideas here and need help. Someone
that have experienced the same problem?

/Marre
 
Your web service application is going to stop after some period of
inactivity. Web services are not long running programs; you should probably
use a Windows service or one of any number of available task scheduler
applications.

DalePres
 
Ok. Then I really have to change that :)

Is this something thats new for win 2003? When I run my webservice on the
other computer (with win 2000, not xp as I wrote erlier by mistake), it
could be running "forever"....I had it up for several weeks only restarting
when the old computer didnt want to run, without problem.

/Marre
 
Hi!

As a "first step" i implemented this as a windows applikation. I will use
the Windows Service alternative as an option to my application.

It seems that this is working.

Thanks for giving me an answer to what causing this problem!

/Marre
 
Back
Top