
WebBrowser control not displaying certain pages
I have a WebBrowser control on a form in a VB app. There is also a text
box where the user can type a URL. When the URL is entered, I call the
navigate2 method of the control, expecting to browse to the entered URL.
Most of the time, this is exactly what happens.
The problem is that certain pages (for example, www.quote.com ) do not
display - I see the part of the page being displayed, then an error page
- cannot find server or DNS error. I know the site is there - I can
browse to it in my browser with no problems. Here's a bit of the
debugging output (messages logged on NavigateComplete2 event and on
DocumentComplete event:
3:01:28 PM: Nav2 complete: http://www.*-*-*.com/
3:01:28 PM: Doc complete:
3:01:28 PM: Doc complete:
3:01:28 PM: Doc complete:
3:01:28 PM: Nav2 complete:
res://C:\WINNT\system32\shdoclc.dll/dnserror.htm#http:///
3:01:28 PM: Doc complete:
res://C:\WINNT\system32\shdoclc.dll/dnserror.htm#http:///
3:01:28 PM: Nav2 complete:
res://C:\WINNT\system32\shdoclc.dll/dnserror.htm#http:///
3:01:28 PM: Doc complete:
res://C:\WINNT\system32\shdoclc.dll/dnserror.htm#http:///
Any ideas??
Thanks,
Bryan