[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Loading Remote XML.
Yep - there are a load of problems doing this on the server. Use something like ASPTear (?), ActiveXML (vivid-creations.com) or ASPHTTP(serverobjects.com) to get the remote URL and then load it into the DOM on the server. There is a KB on the MS Site. It works OK on the client, but not server ! cheers, steven Steven Livingstone Glasgow, Scotland. +44 (0) 7771 957 280 Pro XML http://www.wrox.com/Consumer/Store/Details.asp?ISBN=1861003110 Pro Site Server 3 http://www.wrox.com/Consumer/Store/Details.asp?ISBN=1861002696 Pro Site Server 3.0 Commerce Edition http://www.wrox.com/Consumer/Store/Details.asp?ISBN=1861002505 ----- Original Message ----- From: Roland Dunn <roland@xxxxxxxxxxxx> To: <XSL-List@xxxxxxxxxxxxxxxx> Sent: Monday, June 05, 2000 11:23 AM Subject: Loading Remote XML. > Hi, > > Has anyone tried using .load on the MSXML DOM and tried to load a remote > file? > Particularly on 2000 using IIS5? If I try to do the following in an ASP page > I get the following error details: > > > Set xmlObj = Server.CreateObject("Microsoft.XMLDOM") > xmlObj.async=False > xmlObj.Load("http://p.moreover.com/cgi-local/page?index_fedwatch+xml") > > If xmlObj.parseError.errorCode <> 0 Then > ' This produces the following error details. > ' Error code: -2146697209 > ' Reason: "No data is available for the requested resource." Eh ? > > End If > > I know that the XML source is valid and well-formed. I also get the same > error with the most simple XML files. > Any clues anyone? > > Cheers Roland. > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|