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 19: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 2

Removed log entry , and it started working fine... actually the log entry was having some problem...
  Permalink  
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  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Shai Vashdi 1,518
1 OriginalGriff 478
2 Manas Bhardwaj 394
3 Tadit Dash 310
4 Damith Weerasinghe 260
0 Sergey Alexandrovich Kryukov 9,575
1 OriginalGriff 5,856
2 Peter Leow 4,405
3 Maciej Los 3,540
4 Abhinav S 3,513


Advertise | Privacy | Mobile
Web02 | 2.8.140415.2 | Last Updated 26 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid