J
jajalc
Hi all,
WE have a windows service using .net and which uses a
System.Timers.Timer..all the of code works fine..... but after a
extended period of time the timer just stops firing the elasped event.
the elasped event is fired every 2 sec and the code which is in the
elasped event is multithreaded.
This only happens if the service runs for a extended peroid of time..
Does anyone else have the same problem?
There is nowhere in the code that the timer is set to disabled or the
time should be stopped by some reason.
After googling it for a while i really didnt get the right answer..
..people suggest to switch to system.threading.timer but i just want to
make sure that there is a problem withe the System.Timers.Timer and
confirm it with the experts
here is a link to someone who has the same problem
http://discuss.develop.com/archives/wa.exe?A2=ind0306D&L=DOTNET-CLR&P=R1007&D=0&I=-3
http://weblogs.asp.net/sibrahim/archive/2004/01/13/58429.aspx
Can any one plz help
Cheers
Chintan
WE have a windows service using .net and which uses a
System.Timers.Timer..all the of code works fine..... but after a
extended period of time the timer just stops firing the elasped event.
the elasped event is fired every 2 sec and the code which is in the
elasped event is multithreaded.
This only happens if the service runs for a extended peroid of time..
Does anyone else have the same problem?
There is nowhere in the code that the timer is set to disabled or the
time should be stopped by some reason.
After googling it for a while i really didnt get the right answer..
..people suggest to switch to system.threading.timer but i just want to
make sure that there is a problem withe the System.Timers.Timer and
confirm it with the experts
here is a link to someone who has the same problem
http://discuss.develop.com/archives/wa.exe?A2=ind0306D&L=DOTNET-CLR&P=R1007&D=0&I=-3
http://weblogs.asp.net/sibrahim/archive/2004/01/13/58429.aspx
Can any one plz help
Cheers
Chintan