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 9239637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:02:05+00:00 2026-06-18T08:02:05+00:00

I have created a windows service with automatic starting enabled.When i installed the service

  • 0

I have created a windows service with automatic starting enabled.When i installed the service using installutil it is not starting automatically.But when i tired to start it manually it is working.

When i checked event viewer i couldn’t find any error in it.What would be the issue.
How can i find the error?

My start function is like this

 protected override void OnStart(string[] args)
    {
        StartFetch();
    }

    private static void StartFetch()
    {
        try
        {

            FetchManager fetchManager = new FetchManager();
            fetchManager.Run();
        }
        catch (Exception ex)
        {
            throw ex;             
        }
    }
  • 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-18T08:02:06+00:00Added an answer on June 18, 2026 at 8:02 am

    Automatic Start refers to what happens on a Windows Reboot. It doesn’t automatically start the service on install.

    To get around this you can of course add a post-installation event to start the service, which is what I do with mine.

    There is also the 90’s solution of course, ask the user to reboot to complete installation 😉

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

Sidebar

Related Questions

I have created a C# Windows service but it fails to start. I get
My automatically starting windows service fails to start only on reboot. I have a
I have created a windows service with Automatic Start Type and install it in
I have created a windows service which is set to start automatically. This service
I have created a windows service by using (Visual Studio 8) and installed it
I have created a Windows Service using C# which performs variance network maintenance tasks
I have created a windows service and I had installed it on my PC.
I have created windows service. I need to run that automatically after 2 minutes.
I have created a windows service and installed it on 3 computers in a
I have created a Windows Service, and an associated installer using Visual Studio 2010.

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.