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!

MSXML Timeout on Localhost

Status
Not open for further replies.

chrigil

Programmer
Sep 23, 2003
178
GB
Can anyone offer any advice/solutions as to why MSXML seems to timeout when processing a page. I have included the code below and as you can see I'm GETting a page, parsing it and then saving it to file. If I use an external URL ie Google.com it works fine but using any internal IP address causes it to timeout!!

Function convertHTML(myPage, myQuery, myNum)

Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")
xml.Open "GET", " False 'this works
xml.Open "GET", " False 'this doesn't work

xml.Send

rawHTML = xml.responseText

WRITE TO FILE USING FSO

Set xml = Nothing
Set filesys = Nothing
End Function

Any ideas?

Thanks in advance,

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top