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!

Newbie - load method doesn't work server side

Status
Not open for further replies.

mleduc

Programmer
Dec 5, 2001
20
CA
Hi,

I'm trying to load a URL in the load() method.

It's working when I do it client side using JScript but want to do it server
side using ASP-VB

Here is my code (server side)

srchStr = "
set objXML=Server.CreateObject("Msxml2.DOMDocument")
objXML.async="false"
objXML.load(srchStr)

The error return is

Error Code: -2146697209
Error Reason: No data is available for the requested resource.
Error Line: 0

Help please, Irealy don't understand why it's not working.

When I put the URL in the Browser the xml page return is OK.

Thanks

Mario
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top