Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / April 2007

Tip: Looking for answers? Try searching our database.

new HttpListener in Service OnStart

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Wild Wild Mike - 19 Apr 2007 18:46 GMT
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?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.