W3C home > Mailing lists > Public > xml-dist-app@w3.org > October 2001

msxml3.dll error '80072ee7'

From: Mike Martin <mmartin@notifycorp.com>
Date: Thu, 18 Oct 2001 09:04:40 -0400
To: <xml-dist-app@w3.org>
Message-ID: <B1BC7279BC2CD4119F1F006097A1D09C31E5B5@mail.ntouchalways.com>
I have an .asp page attempting to grab content from another webpage.  My
code will follow, but does anybody know how to resolve the following error?

"msxml3.dll error '80072ee7'
The server name or address could not be resolved"
The error occurs on the line: "xml.Send".  Thanks in advance for any help.
-------- (Test Code) ------------
  Response.Buffer = True
  Dim objXMLHTTP, xml

  ' Create an xmlhttp object:
  'Set xml = Server.CreateObject("Microsoft.XMLHTTP")
  ' Or, for version 3.0 of XMLHTTP, use:
   Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")

  ' Opens the connection to the remote server.
  xml.Open "GET", "http://www.yahoo.com/", False

  ' Actually Sends the request and returns the data:
  xml.Send

  'Display the HTML both as HTML and as text
  Response.Write "<h1>The HTML text</h1><xmp>"
  Response.Write xml.responseText
  Response.Write "</xmp><p><hr><p><h1>The HTML Output</h1>"

  Response.Write xml.responseText
  Set xml = Nothing


|\  /|     |\  /|
| \/ |     | \/ |
|    |ike  |    |artin
Received on Thursday, 18 October 2001 09:01:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:04 GMT