Home All Groups Group Topic Archive Search About

Determine depend on services

Author
27 Apr 2010 10:58 PM
Ron Hinds
I've created a service in VB.Net. It seems to work just fine if I start the
service manually while I'm logged in. But if I reboot the machine, the
service fails with a socket error. I think that there may be other services
that my service depends on. How do I determine what, if any, services my
service depends on? If this isn't the correct place to post this question, I
would appreciate it if someone could point me in the right direction. Thank
you!

Author
28 Apr 2010 1:09 AM
Herfried K. Wagner [MVP]
Am 28.04.2010 00:58, schrieb Ron Hinds:
> I've created a service in VB.Net. It seems to work just fine if I start the
> service manually while I'm logged in. But if I reboot the machine, the
> service fails with a socket error. I think that there may be other services
> that my service depends on. How do I determine what, if any, services my
> service depends on? If this isn't the correct place to post this question, I
> would appreciate it if someone could point me in the right direction. Thank
> you!

Maybe it's a firewall-related problem:

Windows Service using Sockets
<URL:http://social.msdn.microsoft.com/Forums/en/netfxnetcom/thread/1400333a-da0a-45e7-976d-7a2966752b1c>

--
  M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
  V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
28 Apr 2010 9:00 PM
Ron Hinds
Show quote Hide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:%23pZUo9m5KHA.3804@TK2MSFTNGP05.phx.gbl...
> Am 28.04.2010 00:58, schrieb Ron Hinds:
>> I've created a service in VB.Net. It seems to work just fine if I start
>> the
>> service manually while I'm logged in. But if I reboot the machine, the
>> service fails with a socket error. I think that there may be other
>> services
>> that my service depends on. How do I determine what, if any, services my
>> service depends on? If this isn't the correct place to post this
>> question, I
>> would appreciate it if someone could point me in the right direction.
>> Thank
>> you!
>
> Maybe it's a firewall-related problem:
>
> Windows Service using Sockets
> <URL:http://social.msdn.microsoft.com/Forums/en/netfxnetcom/thread/1400333a-da0a-45e7-976d-7a2966752b1c>
>

An excellent suggestion; I hadn't even thought of that! But, no joy, I had
the same problem after disabling the Windows Firewall service. I'm now
thinking it might be my TrendMicro Internet Security.