June 5th, 2009, 10:49 AM
Cannot run .NET Application
I have run into a strange problem. I have developed a Windows Forms Application within VS2008, which has been working well for a long time. However, as I had to reinstall my system due to a harddisk failure, when I now try to debug the application (or run it, either by clicking on its icon or from the command line), I get the following message (it might be slightly different on an English system as I am working on a Danish machine, and the message below is translated as well as I have been able to):
The service cannot be started from the command line or a debugger. You should first use installutil.exe to install a Windows Service, which then should be started with Server Explorer, the administration tool for Windows Services, or the command NET START.
When I look at the Event Log, an error is registered which says that "the service process could not connect to the service controller."
I have not developed any services - it is plain application development!
Does anyone have a clue about how this problem can be solved?
Thank you in advance.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!