Re: Service will not start after a reboot




"Waldy" <someonenot@xxxxxxxxxxxxx> wrote in message
news:uU$8J$thJHA.996@xxxxxxxxxxxxxxxxxxxxxxx
Hi there,
I have written a .Net 2.0 windows service that runs fine when
started manually, and the whole point of writing it as a service was to
make sure that it is always running. However, even though it is set to
start automatically, it does not start after a reboot. There are no
clues in the Event log and there are no dependencies on other services.
How do I track down the problem?

All service start/stop events are reported in the Event Viewer. If yours
isn't then there is probably something wrong with the way you designed it.
If you cannot work out what it is then you can try walking around the
problem: Use the Task Scheduler to run the following batch file at boot
time, then examine the log file it generates:
@echo off
echo %date% %time%>>c:\Waldy.log
net start "Waldy Service" 1>>c:\Waldy.log 2>>&1
net start | find /i "Waldy Service" 1>>c:\Waldy.log 2>>&1


.



Relevant Pages


Loading