I am creating another windows service and my timer is not ticking and I have no idea why! I am using system.timers.timer as I have in previous services and it doesn\'t work. I
I think timer1_Elapsed
needs to use the event delegate, so
timer1_Elapsed += new ElapsedEventHandler(timer1_Elapsed);
http://msdn.microsoft.com/es-es/library/system.timers.timer.aspx
Though I would recommend the System.Threading.Timer for inside a service, as it will correctly throw exceptions inside the elapsed event. System.Timers.Timer just swallows them.
http://msdn.microsoft.com/en-us/library/system.threading.timer.aspx