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

  • Home
  • SEARCH
  • 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 8661867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:36:06+00:00 2026-06-12T16:36:06+00:00

I created a service using .NET that is supposed to start automatically and run

  • 0

I created a service using .NET that is supposed to start automatically and run as a User with my username & password.

If I restart my PC, log on with the same username & password, and go to Task Manager, it says that the service is running, but when I check the Event Log there are no messages stating that the service has started, and in fact, the service has not started, because it doesn’t do what it’s supposed to be doing.

On the other hand, if I manually stop and start the service, then the entries in the Event Log appear and the service runs as it’s supposed to.

So when I restart my PC, how come Task Manager says that the service is running even though it’s not running? Is there a security setting that I need to tweak?

  • 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-12T16:36:07+00:00Added an answer on June 12, 2026 at 4:36 pm

    I was able to solve the problem: the service was failing to initialize properly on windows restart because it was not dependent on any service, when it should have been dependent on the event log service. Setting the “ServicesDependedOn” property of the ServiceInstaller object to “Windows Event Log” solved the problem. Thanks for the help!

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

Sidebar

Related Questions

What I have created a very simple asp.net web service using .NET framework 3.5,
I've created a simple service using automator, that takes a *.tiff, creates a *.jpg
I have a Data Service created using WCF that internally uses nHibernate. This WCF
I created a WCF SOAP service using VS 2008 that works server side. I
I'm working on a web service that will create orders in SAP using .NET.
I created a .NET windows service that installs without any issues on the dev
I've created a Web Service using import javax.xml.ws.Endpoint and a client that connects to
I've created an ASP.NET WebService that is to be consumed using ASP.NET Ajax. The
For experiments, I created a simple Hello World WCF service and client using .NET
I've created a windows service application using Visual Studio .NET 2010 and C#. I've

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.