msxml3.dll error '80072ee2' The operation timed out |
This means that the site you were trying to parse either could not be found, and the component gave up; or it is taking far too long for the page to finish loading. One way you can avoid this error is to set timeout values that are more conservative, e.g.:
<% url = "http://www.espn.com/main.html" set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") ' resolve, connect, send, receive - in milliseconds xmlhttp.setTimeouts 5000, 60000, 10000, 10000 xmlhttp.open "GET", url, false xmlhttp.send "" Response.write xmlhttp.responseText set xmlhttp = nothing %> |
The four timeout values are as follows:
ResolveTimeout This value is for the return of a DNS resolution (mapping the domain name to its representative IP address). The default value is infinite.
ConnectTimeout This value is for establishing a connection with the server, and the default value is 60 seconds.
SendTimeout This value is the time allowed for sending an individual packet of data to the server. The default value is 30 seconds.
ReceiveTimeout This value is the time allowed for receiving an individual packet of data from the server. The default value is 30 seconds.