"Carolyn Speakman" <ca**************@idom.co.uk> wrote in message
news:3c**************************@posting.google.c om...
<!-- DOESN'T LIKE THIS LINE -->
lastUpdated = rssHeader.item(0).childNodes(4).text
<!-- ********************** -->
The VBScript runtime error "Object required" is roughly equivalent to an
invalid pointer exception in other languages.
The code assumes that rssHeader.item(0) returns a valid object (let's call
it X), and ditto for X.childNodes(4). Either of these method calls could
"fail" and return the null value. OTOH I forget how VBScript represents the
null value; you should be able to glean this info from any VBScript
reference.
Add some error checking, and/or take a look at the data, ie., experimental
values for the channel element and its sub-elements. See whether these
methods are returning valid objects, and if not, why not. The documentation
for MSXML DOM may be helpful in this regard.
Clearly your test runs on the server and local machine are getting data that
is structured differently. Perhaps this clue in and of itself will point to
a solution.
Hope this helps.
/kmc