Click here to Skip to main content
15,302,965 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Dear all,
I have developed a windows service in vs 2008(on windows 7 OS).It is deployed and works as expected.But when i am trying to install it on other systems the service cant be shows the error "Could not Start service on local computer error 1067".What might be the problem.
All your advices are needed.
Updated 14-Jun-12 20:32pm

This is your code stopped the service, nothing else. There can be million reasons for that, simple logic, uncaught exception and so on. Try to debug your code, use logging to analyze the execution. It's hard to advise something more exact, as you did not provide any code sample.

Vani Kulkarni 15-Jun-12 1:35am
Good. Thank you, Vani.
This error code is the most general of all, it means that something went wrong :( If an unhandled exception is causing an error in the managed code, you will be able to get more information in the application log. Filter for errors with .NET Runtime as source.
Don't let exceptions be unhandled. Add logging to your code. NLog[^] is a good one.

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