windows service install error

inzo21

Regular
Joined
Nov 5, 2003
Messages
74
Hello all,

I'm trying to install a simple windows service that I created that writes a message to the event log every 5 seconds.

When doing so, the setup project builds and installs fine. But when I double click on the executable of the service that gets built, I get the "Windows Service Start Failure" error window indiciating that the service needs to be isntalled first.

I then attempted to manually install it by using the installutil.exe utility and calling the executable directly installutil - i.e. "c:\folder\testservice.exe"

I received a System.IO - FileNotFoundException error.

Please find attached a copy of the two projects - service and sintaller.

Any help would be much appreciated.

inzo
 

Attachments

Back
Top