Why do I get 80072EE2 errors?

It took me awhile to track down the culprit for the 800732EE2 errors. We verify all FedEx ground shipping addresses by making a call to the FedEx API when we print the packing slips. Our Priority Mail vendor, Endicia, will not let us print a label with an invalid address. FedEx Express packages will not print the label with an invalid address. For some reason FedEx allows Ground/Home packages to go out with an invalid shipping address but then they would ding us $11 for each invalid address. I fixed the problem by automatically checking addresses. I don’t know where I got the original code but the timeouts worked for every day except the first printout on Monday morning. On Monday mornings we print a lot of packing slips so the ten second receive timeout did not work.

Why do I get 80072EE2 errors?

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.

Why do I get 80072EE2 errors?