BaggersHome
Programmer
Hi,
I have a C#.NET solution with a service and a windows project. I have installed the service using installutil.exe and I have gone into services (Start->Run "services"), verified it's there and started it.
I have connected the sevice to the form application by dragging the service from the services view in VS.NET 2003 onto the form, I have entered a "Name" for the sevice and specified the ServiceName property as the Service Name property when you right click on the service in the Services manager.
However, when I try and debug the solution I get the following error:
"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 Service Adminitrative Tool or the NET START command."
I am running Windows XP. There is only one page of Google results on this and all those were where people had not installed/started the service, any ideas?
Cheers,
Steve.
I have a C#.NET solution with a service and a windows project. I have installed the service using installutil.exe and I have gone into services (Start->Run "services"), verified it's there and started it.
I have connected the sevice to the form application by dragging the service from the services view in VS.NET 2003 onto the form, I have entered a "Name" for the sevice and specified the ServiceName property as the Service Name property when you right click on the service in the Services manager.
However, when I try and debug the solution I get the following error:
"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 Service Adminitrative Tool or the NET START command."
I am running Windows XP. There is only one page of Google results on this and all those were where people had not installed/started the service, any ideas?
Cheers,
Steve.