I have a windows service application. And debugging it by running in console mode.
Here http://support.microsoft.com/kb/842793 it is written that Timers.Timer has a bug and not firing in windows services. And workaround is to use Threading.Timer And this article is for .NET 1.0 and 1.1
I am using .NET 4 but after some time Threading.Timer also doesn't fire. So what can be the reason for this? And what can you suggest as a workaround?
Thanks,
Best Regards
EDIT: I changed timer from Threading.Timer to Timers.Timer and it is working without any problem.