Click here to Skip to main content
15,879,474 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
When i installed windows service in system using vs 2010 command prompt then i have got error as StartService : OpenService FAILED 1060:
The specified service does not exist as an installed service.
Posted
Updated 12-Aug-14 19:07pm
v2
Comments
StM0n 13-Aug-14 1:17am    
Could you specifiy how you installed the service? Did you use the InstallUtil?
Sergey Alexandrovich Kryukov 13-Aug-14 1:58am    
What is the evidence that you installed it? Probably not. :-)
—SA
kalsa 13-Aug-14 3:32am    
I am using command as installutil D:\wcfservice\TestingService\bin\Debug\TestingService.exe
Then show following message.
The commit phase completed successfully.
The transacted install has completed.
But service does not show in services section.
If i started service using command as sc start TestingService.
Then following message show.
[SC] StartService: OpenService FAILED 1060:

The Specified service does not exist as an installed service.

Please help me asap.
Thank you
Mano N 13-Aug-14 5:57am    
Are you opened this directory path

C:\Windows\Microsoft.NET\Framework\v4.0.30319



Open this directory path in cmd prompt and then try.And also check the user permission of exe file... (sry for my bad english)

1 solution

Create an installer using visual studio Installer setup project.

you can create a project like

File->New Project->Other project Type->Visual Studio Installer->SetUp Project


And Right Click on the Application Folder on left side panel of the window

then
Add->Assembly and select your windows service

Note:Make sure that all the project should be in same solution
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900