Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8216967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T12:19:00+00:00 2026-06-07T12:19:00+00:00

I am developing an app to install & run as a Windows service. It’s

  • 0

I am developing an app to install & run as a Windows service. It’s still buggy and stopped unexpectedly (leaving nothing in the Windows Event log either) and when I tried to start it up again I got the error

Windows could not start the {name of service} service on Local Computer.
Error 1067: The process terminated unexpectedly.

I restarted the computer (Server 2008 R2; a virtual machine, in case that makes a difference), no help. Uninstalled and reinstalled my service, and still get that error!

Something on the machine needs cleared out / refreshed so that it will attempt to start the service again. I don’t want to rebuild the whole virtual machine but I’m out of ideas.

UPDATE

I forgot to mention that this Windows service — exact same code & install — is running on 3 other machines without the above error. Putting in that debugger in OnStart() still sounds like the way to go though.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T12:19:02+00:00Added an answer on June 7, 2026 at 12:19 pm

    If you have access to the code, you can add a method Debugger.Break at the first line of the OnStart method.

    Once you “break” into the application investigate where the exception is thrown.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a iOS based enterprise app. The client is going to install the
I am developing an Android app on my Windows 7 Home PC using Eclipse.
fellow anthropoids and lily pads and paddlewheels! I'm developing a Windows desktop app in
I'm developing android application. To test my app on AVD I need to install
I am developing app in Visual studio 2010, my app is constantly connected to
Greeting, I'm a C# programmer guy. I'm planning to start developing app for iphone
Im developing an app for iPhone, in wich one of the functionalities is an
im developing a app in Android. in this project im using a List of
im developing an app for the iphone and im able to get a video
Im developing an app with MinGW and Code::Blocks and i recently updated the MinGW

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.