Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML and loadbalancers

Status
Not open for further replies.

MarcusH

Programmer
May 3, 2001
22
GB
Hi there,

I have problem whereby my ASP/XML code doesn't appear to work properly on a server that is behind a loadbalancer.

My purpose of the code is to allow websites to share content from a single source. The code is:


Code:
<%
  Response.Buffer = True
  Dim objXMLHTTP, xml

  Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")
  xml.Open "GET", "[URL unfurl="true"]http://www.domain.com/index.htm",[/URL] False
  xml.Send
  Response.Write xml.responseText
  Set xml = Nothing  
%>

This code generally works fine. However, if the domain called is on the same server as the calling page, and that server is behind a loadbalancer, it comes up with:

"msxml3.dll error '80072efd'
A connection with the server could not be established"

otherwise it works fine.

Any help on this would be very much appreciated.
Many thanks
Marcus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top