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

Error using access xml from asp page

Status
Not open for further replies.

hallm

Programmer
Jun 11, 2000
159
US
On my online news site I need to be able to retrieve information from a remote xml page that updates every day. The script (which is being used by several sites in our area) works fine when I test it locally, but when I test it on my nt server (I lease server space from another company) I get the following error.

error '800c0007'
/test/start.asp, line 571

Line 571 is the line in my script that defines the remote url. I have the relevant parts of the script below. The network admins (server people) have been working on this for a week and they blame the xml data provider. But it works on my local system (which is only using PWS). Is this me or them? Am I doing something wrong? Any comments would be appreciated.

Complete script:

<%
Dim XML
Set XML = Server.CreateObject(&quot;msxml&quot;)
XML.URL = &quot;
Dim readings
Set readings = XML.root.children
Dim station
Set station = readings.item(0)
%>
<font size=&quot;1&quot;>Last modified on <% Response.Write(station.children.item(&quot;date&quot;).text)%></font></font></i><font color=&quot;#00ff00&quot;><br>
<font size=&quot;1&quot;><b>Elevation: <% Response.Write(station.children.item(&quot;elevation&quot;).text)%>
ft msl</b></font><br>
<font size=&quot;1&quot;>Minimum Temperature: <% Response.Write(station.children.item(&quot;min_temp&quot;).text)%>º</font><br>
<font size=&quot;1&quot;>Maximum Temperature: <% Response.Write(station.children.item(&quot;max_temp&quot;).text)%>º</font>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top