Windows service and http request

  • Thread starter Thread starter Chris Capel
  • Start date Start date
C

Chris Capel

My windows service downloads a file using an http web request as part of its
startup routine. This is fine when the service is started manually, but when
the computer boots (the service is set to start automatically), there's some
sort of condition that prevents the download. I'm thinking this is a service
dependency, but which service provides web connectivity? DNS client?
 
hmmm...

This is most likely is a permissions issue. There are some funky things
that go on when tying to access certain resource. First of all ensure that
you service is running as the INTERACTIVE user.

Also if you are using any COM object, Win32 api calls, or DCOM ensure that
the proper permissions are set in component services.

Now that I'm reading your email again, are you even sure that the serivce is
starting up? Make sure you set the service as interactive, or it won't
start until the specified account logs in.

Hope this helps.

Nick Harris, MCSD
 
Back
Top