|
-
Feb 8th, 2010, 05:34 AM
#1
Thread Starter
Hyperactive Member
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
Last edited by PPCC; Feb 8th, 2010 at 06:21 AM.
-
Feb 24th, 2010, 06:16 PM
#2
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|