I have done some Researching and implemented some additions from the Questions that I found here on StackOverFlow. but I am still having issues with the service not auto-starting
here are some of the Questions/Answers that I have read
I set the Start Type in my Installer code
I set the after install Code
I tested by rebooting, nothing.
uninstalled, re installed, started service and then reboot again, service didn't auto start on reboot.
I made sure every time I made a change that I did a rebuild on the project and the setup project before a fresh install.
I am not finding much for my current situation, when searching Google either.
am I missing something?
To fix this problem, use one of the following methods: Set the Startup type of the service to Automatic (Delayed Start). Create a scheduled task to start SQL server service after a computer restart, and set a one-minute delay for the task. Disable DAD on the computer.
If your service StartType is set to Automatic, but the service is not running after a reboot, then either your service has a dependency on another service that is not starting correctly, or your service's own startup code is failing and ends up stopping the service. Check the Windows Event Log for errors (if you are not logging your own errors, you should be).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With