Click here to Skip to main content
13,091,093 members (51,108 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hello everyone,
I have made a project in c# of type windows service, i have set the service installer start up type to "Automatic" , I have also created a installer/setup for that service,
when i first install that service, i manually start that service, but during reboot it doesnt starts automatically although startup type is set to "Automatic"..

Please help me how to make this possible.

Thanks ,

Posted 7-Sep-12 19:07pm
As everything sounds correct except the fact that a service is not started on reboot (how do you know that, by the way? are you sure it really does not start?), it looks like we don't yet have enough information to help you.
krunal111 8-Sep-12 1:25am
I have created a log entry with datetime whenever the service is started, when i rebooted my system, the log entry was not filled with "start service" with a entry of that particular date time...

Please help
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Make sure your service dependencies have started first (i.e. SQL server if you are using it etc.).[^]
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Removed log entry , and it started working fine... actually the log entry was having some problem...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 26 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100