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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using msxml2.serverxmlhttp to get list data from sharepoint

Status
Not open for further replies.

dotolee

Technical User
Jan 27, 2008
134
CA
hi there. i have a list on our sharepoint website that my ASP web app needs access to. I am trying to use msxml2.serverXMLhttp to get the contents of the page.
i'm getting the following error message:
err.number = -2147483638
err.description = the necessary data to complete this operation is not yet available.

my code looks like this:
dim xmlhttp, url
url = "set xmlhttp = Server.CreateObject("MSXML2.ServerXMLHttp")
xmlhttp.settimeout 10000,10000,10000,10000
xmlhttp.open "GET", url, false, "userid", "password"
xmlhttp.send
response.write xmlhttp.responseText
set xmlhttp = nothing
 
i had an on error resume next statement at the top. after removing it, now i'm getting the error
"msxml3.dll error: a connection with the server could not be established"

This happens on the .send method
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top