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

Posted on 2014-12-15
Last Modified: 2015-01-14
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.
Question by:HLRosenberger
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
LVL 23

Expert Comment

by:Michael Fowler
ID: 40501511
Does the second server have the correct version of .NET installed?

Author Comment

ID: 40509838
as far as I can tell, yes.
LVL 83

Expert Comment

ID: 40526263
Any other dependencies? 3rd party DLLs etc? Service failing to start is usually a sign of dependency issues.

Accepted Solution

HLRosenberger earned 0 total points
ID: 40540294
This ended up being a Microsoft bug unrelated to the fact I was running a service.

Author Closing Comment

ID: 40548552
this was the issue.

Featured Post

Stressed Out?

Watch some penguins on the livecam!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question