xmlDom.load("http://localhost/test.xml") - returns

Results 1 to 2 of 2

Thread: xmlDom.load("http://localhost/test.xml") - returns

  1. #1
    Join Date
    Dec 1969

    Default xmlDom.load("http://localhost/test.xml") - returns

    Hello all.<BR><BR>Want to ask if anyone already solved the problem trying to load XML in ASP page not from local disk but from specified URL. All works fine in VB6 test application with the same MXXML.DOMDocument object, but doesn&#039;t work in ASP. I&#039;m getting the following error:<BR><BR>Code: -2146697209 <BR>Reason: No data is available for the requested resource. <BR>File: http://localhost/test.xml<BR><BR>It&#039;s faster to use VB6 COM object, but I&#039;m restricted with ASP procs only, so any help on this matter will be highly appreciate.<BR><BR>Thanks in advance,<BR>Nikita Savytskyy.

  2. #2
    Join Date
    Dec 1969

    Default RE: xmlDom.load(

    Hello<BR><BR>Make sure you are using msxml2 service pack 1 and also you could try setting the property;<BR><BR>xmlobj.setProperty "ServerHTTPRequest", true<BR><BR>before loading the xml file.<BR><BR>Keith

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts