IWebBrowser2 doesnt seem to be destroyed correctly - remaining connections



Hello,

We are currently dealing with a serious problem involving the use of
IWebBrowser2 (wrapper created with VC6 from Internet explorer 6). The
problem happens over Windows XP or Windows XPE.

We have created an application which purpose is to display, one after
another, a set of webpages displayed inside the IWebBrowser2 control.

Each time a new item (webpage) from the list has to be played, we
instanciate a thread which will create the IWebBrowser2 control, then
,when we have to display the next webpage, the thread destroys the
IWebBrowser2 control and a new thred is created which will create the
next IWebBrowser2 control for the next webpage , etc ...

After some time, which can vary from minutes to hours, the process
becomes unable to display some webpages that it could display correctly
before, and we noted that once a webpage cannot be displayed, any
webpage from the same domain won't be able to be displayed anymore.
For ex if the process can't display "www.domain.com/page.html"
it won't be able to display either "www.domain.com/anotherpage.html",
until of course we restart the process.

We bieleve that actually the way the IWebBrowser2 control is destroyed
must be related with the problem, and it seems that somehow the process
reached the maximum of http connexions allowed from one client to one
server (according to the http 1.1 rfc, 2 connections), even if we
explicitely destroyed in the apllication code the previouly used
WebBrowser2 controls.

Yet we tried to kill any http connections using for ex sysinternals
tools or even renew the internet connection itself,but the process
won't be able to display any webpages from one or even several
different domains until the process is restarted. This even if netsat
shows not any http connections remaining.

We'll be glad if anyone has an idea about how to solve this issue.

Thanks in advance.

.



Relevant Pages

  • Re: Need Enter key to trigger post
    ... When I used to use FrontPage (a few weeks ago before downloading Visual Web Developer 2008 Express), all I did was insert a button on a webpage and it defaulted to be a submit button as well as automatically created a form. ... generally display at the top of the page. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: newbie: image problems again
    ... path to the ImageUrl property. ... But the webpage doesn't display the image. ... browser displays the standard image telling that image not found / ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: newbie: image problems again
    ... path to the ImageUrl property. ... does this variable "Profile.UserName" really exist when you try to load ... But the webpage doesn't display the image. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: A new plug-in for firefox that makes *any* website display TeX formulas (including chats!)
    ... hotmail), chats, ... writing so now and then a text for my webpage. ... needs and display it on Your website. ... Is Your tool compatibel with firefox, Internet explorer, Google-groups ...
    (sci.math)