473,406 Members | 2,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

RSS newsfeed

Hi. I'm new to this newsgroup, hope someone here can help. I wrote a
simple ASP that reads various newsfeeds for my local astronomy club. See
http://www.wmich-astro.org, on left frame click [news links].

Problem. Sometimes when I execute my script, I get:

msxml3.dll error '800c0005'
The system cannot locate the resource specified
mas/asp/astrowire2.asp, line 51

I use the following script code:

<%@ language="javascript" %>
..
..
//
function xml_load(src) {
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM")
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP")
xmlhttp.open("GET",src,false)
xmlhttp.send()
xmlDoc = xmlhttp.responseXML
if (typeof(xmlDoc) != "object" ||
xmlhttp.GetResponseHeader("Content-Type") != "text/xml") {
var szResponse = xmlhttp.responseText
xmlDoc.loadXML(szResponse)
}
if (typeof(xmlDoc) != "object") return 'no object defined'
if (xmlDoc.parseError.errorCode != 0) {
var x = ''
// x += 'Error in File: ' + xmlDoc.parseError.url + '<br>'
x += 'Error in File: ' + src + '<br>'
x += 'Error on Line: ' + xmlDoc.parseError.line + '<br>'
x += 'Error Code : ' + xmlDoc.parseError.errorCode + '<br>'
x += 'Error Reason : ' + xmlDoc.parseError.reason
return x
}
return xmlDoc
}

The xmlhttp.send is line 51. If I use the browser's refresh (several
times) I can sometimes get it to work. I wish I could trap and correct
for this error. Is this a firewall problem? Is there anything the
person who runs the server can do? Any help would be greatly
appreciated...Dennis
Nov 7 '05 #1
3 3234
Hi. I googled this problem, few hits. People suspect it's a firewall
problem. Perhaps the browser is not releasing variables. I tried to
clean up my function, but still get the error and need to refresh once
in a while. I'd like to release memory variables, but that should be
already done in javascript.

//
function xml_load(src) {
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP")
xmlhttp.open("GET",src,false)
xmlhttp.send()
var xmlDoc = xmlhttp.responseXML
if (xmlhttp.GetResponseHeader("Content-Type") != "text/xml") {
var szResponse = xmlhttp.responseText
xmlDoc = new ActiveXObject("Microsoft.XMLDOM")
if (typeof(xmlDoc) == "object") xmlDoc.loadXML(szResponse)
}
if (typeof(xmlDoc) != "object") return 'no object defined'
if (xmlDoc.parseError.errorCode != 0) {
var x = ''
// x += 'Error in File: ' + xmlDoc.parseError.url + '<br>'
x += 'Error in File: ' + src + '<br>'
x += 'Error on Line: ' + xmlDoc.parseError.line + '<br>'
x += 'Error Code : ' + xmlDoc.parseError.errorCode + '<br>'
x += 'Error Reason : ' + xmlDoc.parseError.reason
return x
}
return xmlDoc
}
Nov 8 '05 #2
Sorry I cannot help Dennis, but are you willing to include all of your rss code
so that I can use it in one of my sites? I may be able to help you troubleshoot
your problem too.
In article <#s**************@TK2MSFTNGP12.phx.gbl>, Dennis Allen says...

Hi. I'm new to this newsgroup, hope someone here can help. I wrote a
simple ASP that reads various newsfeeds for my local astronomy club. See
http://www.wmich-astro.org, on left frame click [news links].

Problem. Sometimes when I execute my script, I get:

msxml3.dll error '800c0005'
The system cannot locate the resource specified
mas/asp/astrowire2.asp, line 51

I use the following script code:

<%@ language="javascript" %>
.
.
//
function xml_load(src) {
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM")
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP")
xmlhttp.open("GET",src,false)
xmlhttp.send()
xmlDoc = xmlhttp.responseXML
if (typeof(xmlDoc) != "object" ||
xmlhttp.GetResponseHeader("Content-Type") != "text/xml") {
var szResponse = xmlhttp.responseText
xmlDoc.loadXML(szResponse)
}
if (typeof(xmlDoc) != "object") return 'no object defined'
if (xmlDoc.parseError.errorCode != 0) {
var x = ''
// x += 'Error in File: ' + xmlDoc.parseError.url + '<br>'
x += 'Error in File: ' + src + '<br>'
x += 'Error on Line: ' + xmlDoc.parseError.line + '<br>'
x += 'Error Code : ' + xmlDoc.parseError.errorCode + '<br>'
x += 'Error Reason : ' + xmlDoc.parseError.reason
return x
}
return xmlDoc
}

The xmlhttp.send is line 51. If I use the browser's refresh (several
times) I can sometimes get it to work. I wish I could trap and correct
for this error. Is this a firewall problem? Is there anything the
person who runs the server can do? Any help would be greatly
appreciated...Dennis


Nov 22 '05 #3
Dennis, thanks very much. I'll give it a try in the next few days and get back
to you.
In article <uu**************@TK2MSFTNGP11.phx.gbl>, Dennis Allen says...

Thanks for the offer. Just came back. Everything seems to be working
now, so I don't know if it's a problem on my end or the server. If
you're still interested, I've attached my rss reader script. Call
astrowire.asp?1 for the NASA watch feed, astrowire2.asp?2 for Mars
today, etc.

If you find something wrong, please let me know...Dennis
"bregent" <re****@dontspamme.newsguy.com> wrote in message
news:dl*********@drn.newsguy.com...
Sorry I cannot help Dennis, but are you willing to include all of your
rss code
so that I can use it in one of my sites? I may be able to help you
troubleshoot
your problem too.
In article <#s**************@TK2MSFTNGP12.phx.gbl>, Dennis Allen
says...

Hi. I'm new to this newsgroup, hope someone here can help. I wrote a
simple ASP that reads various newsfeeds for my local astronomy club.
See
http://www.wmich-astro.org, on left frame click [news links].

Problem. Sometimes when I execute my script, I get:

msxml3.dll error '800c0005'
The system cannot locate the resource specified
mas/asp/astrowire2.asp, line 51

I use the following script code:

<%@ language="javascript" %>
.
.
//
function xml_load(src) {
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM")
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP")
xmlhttp.open("GET",src,false)
xmlhttp.send()
xmlDoc = xmlhttp.responseXML
if (typeof(xmlDoc) != "object" ||
xmlhttp.GetResponseHeader("Content-Type") != "text/xml") {
var szResponse = xmlhttp.responseText
xmlDoc.loadXML(szResponse)
}
if (typeof(xmlDoc) != "object") return 'no object defined'
if (xmlDoc.parseError.errorCode != 0) {
var x = ''
// x += 'Error in File: ' + xmlDoc.parseError.url + '<br>'
x += 'Error in File: ' + src + '<br>'
x += 'Error on Line: ' + xmlDoc.parseError.line + '<br>'
x += 'Error Code : ' + xmlDoc.parseError.errorCode + '<br>'
x += 'Error Reason : ' + xmlDoc.parseError.reason
return x
}
return xmlDoc
}

The xmlhttp.send is line 51. If I use the browser's refresh (several
times) I can sometimes get it to work. I wish I could trap and correct
for this error. Is this a firewall problem? Is there anything the
person who runs the server can do? Any help would be greatly
appreciated...Dennis



Nov 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Phong Ho | last post by:
Hi everyone, I use the MagpieRSS parser to read RSS newsfeeds. I am able to get the title, url and description. However, I do not able to get the time or date the newsfeed was last published....
0
by: Trevor Andrews | last post by:
The NewsTrove.com news search engine has a new feature that allows you to create your own RSS news feed with any combination of keywords on any topic. The URL to the 'build your own RSS' is:...
0
by: Specter | last post by:
Code: ____________________________________________________ <?PHP header("Content-type: text/xml"); echo"<?xml version=\"1.0\" encoding=\"windows-1252\" ?> <rss version=\"0.91\" > <channel>...
0
by: Peter Callen | last post by:
I have set up a medical website and have a side bar with other links and information. For 2-3 years I had used a newsfeed called Newsclicker. As best I can tell, they no longer function as the...
0
by: | last post by:
I am trying to create an ASP.NET application that consumes an RSS Newsfeed from Yahoo News (http://rss.news.yahoo.com/rss/topstories). I keep getting the following error message, even though my...
7
by: Don | last post by:
Via JavaScript within the client page containing the checkbox, I'm trying to capture the value of a checkbox to make a cookie out of it. But, all I get is the defined "ON" value, even when it is...
12
by: Dennis Allen | last post by:
Hi. I wrote a simple asp script to read various rss newsfeeds. I got one newsfeed, however, that comes back with a runtime error . Here's the code, distilled to the point of error: //...
10
by: Tim B. | last post by:
Hello, I am looking for the proper way to shut down db2 completely so that I can do a cold back up on all the databases. Thanks! ----== Posted via Newsfeed.Com -...
10
by: Default User | last post by:
Sorry about this. Our newsfeed here has periodic problems where posts to our main feed don't make it outside. Unfortunately, the alt groups are on a different feed, so posts to alt.test don't...
1
by: =?Utf-8?B?U3RldmVI?= | last post by:
Hello I have a ASP script which allows me to see Internet-related news items from the BBC in a normal browser. I would like to be able to view this feed in a dynamic text box in Flash MX 2004,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.