I've created 2 windows services that use the System.Timers.Timer. I've installed both of them, and they both work fine on my development Win XP machine. I'm using the installutil program to install them.

I've installed them both on a Win2k3 server. One of them works but the other one never fires off the timer1_Elasped event. (I've added an Eventlog.WriteEntry at the top of this event to test).

Any ideas?

Thx.

Make sure you have enough permissions to run the service on the server and also check that the service is running properly.

Can you upload your project? There are a lot of things that could be going wrong here.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.