System.Timers.Timer/System.Threading.Timer Not Firing At All on Dev Server

J

james.e.coleman

Hello,

System.Timers.Timer/System.Threading.Timer do not fire on my
development server, yet they work perfectly on the production server.
I would appreciate any help on what the cause of this could be.

I am convinced it is not the code since the code works on another
machine.

Thanks,

James
 
S

Steve C. Orr [MVP, MCSD]

I'm not sure what you're doing exactly, but I'm surprised timers are working
in a useful way for you at all in an ASP.NET application.
Each page request generally only lasts for a fraction of a second, so using
a timer within that context is something near worthless.
If you need an event to happen reliably on your server on a regular basis, a
windows services is usually the best approach.

Here's more information on Windows Services:
http://msdn.microsoft.com/library/d...nvssamp/html/vbcs_CreatingaWindowsService.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top