Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hi Every one, I am using a window service for my project. And am using Wix Installer to create a setup for my window service project. I created the setup with the help of WIX installer. But When i start my service from Services.msc. It throwing a error like this Error 1053 : The service did not respond to the start or control request in a timely fashion


I Gone to google for help and they suggest me lots of steps but nothing works still am facing this problem. Please help me to solve this Issue.
Posted
Comments
Bernhard Hiller 8-Aug-14 3:18am    
Add some logging to your service to see how far the startup process works, and where it stops.
In case of exceptions thrown during startup, you might find more information in EventViewer.
Tejas Vaishnav 8-Aug-14 4:56am    
What code you have write in your service start method. I think that code is going to execute in long running process, that's why you got this error. also try to add some exception logging in your start and stop method, so it will log actual exception if any.
sathish k.kumar 8-Aug-14 6:09am    
Dear Bernhar Hiller and Tejas Vaishnav

When i start my window service from command prompt by using installUtil.exe Its working properly. and my service is started.. When i create a setup .msi by using WIX installer its not working.. Please guide me
[no name] 8-Aug-14 7:47am    
Read the documentation for how to install a service, check the registry for your service and make sure that the entries are correct. Stop saying "not working" as that means nothing to anyone but you.

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