Click here to Skip to main content
15,885,941 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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 ,

Krunal
Posted
Comments
Sergey Alexandrovich Kryukov 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
[no name] 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

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[^]
 
Share this answer
 
Removed log entry , and it started working fine... actually the log entry was having some problem...
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900