Advertisement

04.25.2008 at 12:13PM PDT, ID: 23354618
[x]
Attachment Details

Object Required Error using Microsoft.XMLDOM to read XML Data Feed with ASP VBScript

Asked by swinslow in Active Server Pages (ASP), Extensible Markup Language (XML)

Tags: ASP, XML, VBScript, Internet Explorer, Firefox, http://www.sorenwinslow.com/NBAStandingsTemp.asp, Microsoft VBScript runtime error '800a01a8' Object required: 'XMLRoot' /NBAStandingsTemp.asp, line 16, ASP VBScript using Microsoft.XMLDOM to read XML Data Feed

I wrote a script to read and format an XML feed. I was working great for a while. I am not sure what changed, but now I am getting an error:
Object required: 'XMLRoot'
/NBAStandingsTemp.asp, line 16

Unfortunately the code is not getting very far. Here is the code where it is getting stuck:
Set objXML = Server.CreateObject("Microsoft.XMLDOM")

objXML.Async = False
objXML.SetProperty "ServerHTTPRequest", True
objXML.ResolveExternals = True
objXML.ValidateOnParse = True
objXML.Load(TheFeed)

Set XMLRoot = objXML.documentElement
Set StandingTag = XMLRoot.getElementsByTagName("standing")
The above line is line 16.

The running example (well not really running) is here: http://www.sorenwinslow.com/NBAStandingsTemp.asp
Here is where you can see my complete code: http://www.sorenwinslow.com/NBAStandingsTemp.txt
Here is the data feed: http://erikberg.com/nba/standings.xmlStart Free Trial
[+][-]04.25.2008 at 12:31PM PDT, ID: 21442584

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.25.2008 at 12:41PM PDT, ID: 21442652

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.25.2008 at 01:19PM PDT, ID: 21442912

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.25.2008 at 02:11PM PDT, ID: 21443229

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.25.2008 at 04:01PM PDT, ID: 21443758

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Active Server Pages (ASP), Extensible Markup Language (XML)
Tags: ASP, XML, VBScript, Internet Explorer, Firefox, http://www.sorenwinslow.com/NBAStandingsTemp.asp, Microsoft VBScript runtime error '800a01a8' Object required: 'XMLRoot' /NBAStandingsTemp.asp, line 16, ASP VBScript using Microsoft.XMLDOM to read XML Data Feed
Sign Up Now!
Solution Provided By: hielo
Participating Experts: 1
Solution Grade: A
 
 
[+][-]04.25.2008 at 04:29PM PDT, ID: 21443843

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628