help needed while creating Windows Service in .net 2.0
Dear All,
I have created Windows services, Framework 2.0, Upon Build of this services, I am getting below message.
Windows Service Start Failure
Cannot start service from the command line or a debugger. A Windows Service must first be installed (using installutil.exe) and then started with the ServerExplorer, Windows Services Administrative tool or the NET START command.
Can anyone help me, what step I had missed?
Please help,
Regards,
PPCC
Re: help needed while creating Windows Service in .net 2.0
Well it is telling you exactly what you need to do - use the installutil.exe file (which comes with the .NET framework) to install your service once you have built it. When you build a new version that you want to test you just use installutil.exe with a different command line parameter to uninstall the service and then you can install the updated version and test it