Link to home
Start Free TrialLog in
Avatar of HLRosenberger
HLRosenbergerFlag for United States of America

asked on

Help with Windows Service - Windows could not start the service on a local computer;

I have a windows service app I created using Visual Studio.   I have it running successfully on one server.  On a second server, I can install it, but when I start it I get:  

Windows could not start the service on a local computer. Error 1067: The Process terminated unexpectedly.

I added some debug code, and it's never getting to my app; it's never starting.   Anyone ever see this?  Any thoughts?  Any thoughts as to differences on the servers that might cause this issue?  Both servers are 2008.
Avatar of Michael Fowler
Michael Fowler
Flag of Australia image

Does the second server have the correct version of .NET installed?

http://msdn.microsoft.com/en-us/library/hh925568(v=vs.110).aspx
Avatar of HLRosenberger

ASKER

as far as I can tell, yes.
Avatar of Nasir Razzaq
Any other dependencies? 3rd party DLLs etc? Service failing to start is usually a sign of dependency issues.
ASKER CERTIFIED SOLUTION
Avatar of HLRosenberger
HLRosenberger
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
this was the issue.