473,602 Members | 2,809 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't locate resource specified - display RSS

I am trying to make a simple page display a rss news feed.. I don't want the
web server to connect to remote site because it doesn't work. I want the
client to do it because my web server is behind a proxy (Tried proxycfg.exe
on web server with no success)

I am going nuts.. something that should be so simple for me...

The following will just not work and I give up.. so now I want client side
code (Unless someone can fix my problem):
ALWAYS Give's me
msxml3.dll error '800c0005'

The system cannot locate the resource specified.

/readnews.asp, line 12

SOURCE ---
<%
response.write "WOW!<br>"
Call getNews(10)
response.write "<BR>WOW!"
'http://www.redbooks.ib m.com/rss/xseries.xml
Sub getNEWS(howMany Results)
myRSSfile = "http://www.redbooks.ib m.com/rss/xseries.xml"

Set xmlHttp = Server.CreateOb ject("MSXML2.XM LHTTP")
xmlHttp.Open "Get", myRSSfile, false
xmlHttp.Send()
myXML = xmlHttp.Respons eText

Set xmlResponse = Server.CreateOb ject("MSXML2.Do mDocument")
xmlResponse.asy nc = false
' oxml.setPropert y "ServerHTTPRequ est", true
xmlResponse.Loa dXml(myXML)
Set xmlHttp = Nothing

Set objLst = xmlResponse.get ElementsByTagNa me("item")
Set xmlResponse = Nothing

intNoOfHeadline s = objLst.length -1

For i = 0 To (intNoOfHeadlin es)
Set objHdl = objLst.item(i)

for each child in objHdl.childNod es
Select case lcase(child.nod eName)
case "title"
title = child.text
case "link"
link = child.text
case "descriptio n"
description = child.text
'You can also use the following:
author,category ,comments,enclo sure,guid,pubDa te,source
End Select
next

kk = kk+1
if kk < howManyresults+ 1 then
Response.Write "<br /><a href=""" & link & """>" & title & "</a> <br> "
& description

end if

Next
End Sub
%>

%>

End News.
Jul 22 '05 #1
0 1455

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

Similar topics

3
5705
by: Werner Merkl | last post by:
Hi, Python is really great, for small to big programs. For my colleagues and some circumstances I sometimes need to "compile" a script using py2exe. Cause I use Windows, I like to use the (Windows) ability, to add some version infos, comments, etc to the exe file. If I use explorer to check, these properties are visible and correct.
2
31391
by: avishosh | last post by:
Hi, I'm getting the folowing error when tring to open xml file: -------------------------------------------------------------------------------- The system cannot locate the resource specified. Error processing resource 'file:/xml/amdocs/oms/opi/customer/getCustomerDetailsResponse.dtd'. Error processing resource 'file:///D:/omsj/suite/bb/omspo/v46_0/omsserver/o/deploy/omsserver/getCustomerDetailsResponse.xml'. Line 2, Position 93
1
2537
by: Anthony | last post by:
Sorry about the repost but i didn't get any responses.... I am trying to make a simple page display a rss news feed.. I don't want the web server to connect to remote site because it doesn't work. I want the client to do it because my web server is behind a proxy (Tried proxycfg.exe on web server with no success) I am going nuts.. something that should be so simple for me... The following will just not work and I give up.. so now I...
0
4485
by: Haffe | last post by:
Hi! I'm trying to send a xml to a webside og this should response with a xml. But at my 'send-line' it gives me an exception: The download of the specified resource has failed. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
0
2951
by: Mythran | last post by:
I wrote some code that is supposed to enumerate through the specified file's win32 resources and return a string-array of all icon names. When it runs, it returns a string-array with a bunch of numbers in sequential order (1-55 when ran against iexplore.exe). When I open up iexplore.exe in Visual Studio, I see 23 icons. Each icon has 1 or more sizes of the icon...I'm assuming that there are, in fact, 55 icon resources in iexplore.exe,...
1
15699
by: Steve Richter | last post by:
I am embedding an xml file in my class library assembly. In solution explorer I right click a folder, add , new item, xml file. then on the xml file I right click, properties, build action = embedded resource. build the class library, run the following code to access the XML as a stream: Stream cmdsStream =
2
10696
by: Raman Pahwa | last post by:
I am getting the following error in my ASP code: msxml3.dll error '800c0005' The system cannot locate the resource specified. Please help me out to solve this.
0
1464
by: Rishi | last post by:
Hi, I'm using xhttp to send a xml file to another remote place wiht POST method. In the place xhttp.send I got the error "the system cannot locate the resource specified". The size of the xml file is 473 kb. I've checked it works fine in my lan. What may be the problem?? Pls, help me....... Thank You,
3
13492
by: svbnagarajan | last post by:
The system cannot locate the resource specified on xmlhttp.send execution. what is the rootcause of the error.
0
7993
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8405
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8404
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8056
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8270
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6730
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5870
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
1511
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1256
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.