Pryach
08-21-2007, 10:57 PM
I have two files, xm1.asp and xml2.asp
xml1.asp
<%
url = "http://www.domain.com/xml2.asp"
set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
xmlhttp.open "GET", url, true
xmlhttp.send ""
response.write xmlhttp.responseText
set xmlhttp = nothing
%>
xml2.asp
Hello World!
xml1.asp and xml2.asp exist on two different web servers. Basically what I want xml1.asp to do is grab the contents of xml2.asp and response.write it.
When I run xml1.asp I get:
msxml3.dll error '8000000a'
The data necessary to complete this operation is not yet available.
xml1.asp, line 6
Line 6 is the response.write
xml1.asp
<%
url = "http://www.domain.com/xml2.asp"
set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
xmlhttp.open "GET", url, true
xmlhttp.send ""
response.write xmlhttp.responseText
set xmlhttp = nothing
%>
xml2.asp
Hello World!
xml1.asp and xml2.asp exist on two different web servers. Basically what I want xml1.asp to do is grab the contents of xml2.asp and response.write it.
When I run xml1.asp I get:
msxml3.dll error '8000000a'
The data necessary to complete this operation is not yet available.
xml1.asp, line 6
Line 6 is the response.write