Click here to Skip to main content
12,512,439 members (68,938 online)
Rate this:
Please Sign up or sign in to vote.
See more: C#
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.
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 | Mobile
Web02 | 2.8.160929.1 | Last Updated 26 Sep 2012
Copyright © CodeProject, 1999-2016
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