Click here to Skip to main content
Rate this: bad
good
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 ,
 
Krunal
Posted 7-Sep-12 20:07pm
Comments
Sergey Alexandrovich Kryukov at 8-Sep-12 1:23am
   
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.
--SA
Rate this: bad
good
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.).
 
http://social.msdn.microsoft.com/Forums/en/csharpgeneral/thread/2d1431f0-005e-4efe-a39f-73f43b940476[^]
  Permalink  
Rate this: bad
good
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...
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 8,963
1 OriginalGriff 6,726
2 Peter Leow 4,232
3 Zoltán Zörgő 3,769
4 Richard MacCutchan 2,558


Advertise | Privacy | Mobile
Web03 | 2.8.150123.1 | Last Updated 26 Sep 2012
Copyright © CodeProject, 1999-2015
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