I have a windows service implementation that creates an HttpListener in
OnStart to help capture port conflict issues while starting vs. when the
service is already started. On Windows 2003 servers calling new HttpListener
hangs, sometimes for minutes and eventually the SCM gives up and reports the
the service hung on start up. I've requested more time in the OnStart before
calling to create the listener, but no helps. If I wait to call new
HttpListener in my MainLoop thread for the service it returns in about 10
seconds. I currently don't have a service dependency on http.sys, but I had
in the past and don't recall it helping. Is there another service depenency
to use or any other clues?
Wild Wild Mike - 19 Apr 2007 22:48 GMT
It looks to be that the correct service dependencies are HTTPFilter and RPCSS
and not HTTP. HTTPFilter depends on HTTP (http.sys filter).
> I have a windows service implementation that creates an HttpListener in
> OnStart to help capture port conflict issues while starting vs. when the
[quoted text clipped - 6 lines]
> in the past and don't recall it helping. Is there another service depenency
> to use or any other clues?