Windows Services Multiple Install

Hopefully this is the right forum.
Basically, the problem that I am is that i am writing a windows service that I am going to deploy onto a server. The purpose of the service is to query multiple databases, do some data processing and the store the results into a seperate database. As I am working on this service, testing and debugging, I cannot find a good way to compile and install to check my work.

Right now the best method that I have is disabling the service, uninstalling it, rebooting the server and then reinstalling. is there a better way to do implement my code changes without having to reboot the server?

[627 byte] By [baysbenj] at [2008-2-22]
# 1
Have you tried to stop the service, replace the new exe, then start the service. I think this should work.
wyattblake at 2007-9-9 > top of Msdn Tech,.NET Development,Common Language Runtime...
# 2
When u use installutil to install your service, you can indeed just stop your service, replace the assemblies and start the service again. You could even use installutil from you bin\Debug-folder, but than compilation while fail when the service is running, because the assembly is in use.

For debugging, you can attach your debugger (ctrl-alt-p) to the service....

BartCoppens at 2007-9-9 > top of Msdn Tech,.NET Development,Common Language Runtime...

.NET Development

Site Classified