XMLHTTP component makes pages hang

Ecommerce Web Hosting for Developers and Webmasters

Certain software/scripts may use the Microsoft-supplied XML http component in a number of ways to communicate from your server to another computer. It is often used for :

1. UPS real time shipping calculations
2. Certain electronic gateways
3. Canada post shipping calculations

All of the versions of XMLHTTP will be available on the web server but having scripts refer to the older versions can cause pages to hang.

Resolution :

In your script (the script running the calculation/gateway/etc), locate the line :

set xmlhttp = Server.CreateObject ("Microsoft.XMLHTTP")

Change to :

set xmlhttp = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0")

Add Feedback