Re: Service will not start after a reboot
- From: "Pegasus \(MVP\)" <I.can@xxxxxxxxxx>
- Date: Fri, 6 Feb 2009 15:29:30 +0100
"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
.
- References:
- Service will not start after a reboot
- From: Waldy
- Service will not start after a reboot
- Prev by Date: Re: Service will not start after a reboot
- Next by Date: Helping Senior Citizens
- Previous by thread: Service will not start after a reboot
- Next by thread: Re: Service will not start after a reboot
- Index(es):
Relevant Pages
|
Loading