473,320 Members | 2,098 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,320 software developers and data experts.

Why this ASP code all of the sudden stopped working?

Hi,

This classic asp code :

<%
Dim objXMLHTTP
Set objXMLHTTP = Server.CreateObject("microsoft.XMLHTTP")
objXMLHTTP.Open "GET",
"http://finance.yahoo.com/d/quotes.csv?s=ABX+ABX.TO&f=sl1d1t1c1ohgv&e=.csv",
False
objXMLHTTP.Send
Response.write objXMLHTTP.ResponseText
%>

Returns the follwoing error:

msxml3.dll error '80070005'
Access is denied.
/tsx/sg.ASP, line 8

Is there any way I can fix that?

Any help would be appreciated,
Max
Oct 5 '07 #1
3 5254
"Max2006" <al*******@newsgroup.nospamwrote in message
news:OM**************@TK2MSFTNGP05.phx.gbl...
Hi,

This classic asp code :

<%
Dim objXMLHTTP
Set objXMLHTTP = Server.CreateObject("microsoft.XMLHTTP")
objXMLHTTP.Open "GET",
"http://finance.yahoo.com/d/quotes.csv?s=ABX+ABX.TO&f=sl1d1t1c1ohgv&e=.csv",
False
objXMLHTTP.Send
Response.write objXMLHTTP.ResponseText
%>

Returns the follwoing error:

msxml3.dll error '80070005'
Access is denied.
/tsx/sg.ASP, line 8

Is there any way I can fix that?
I cut-and-pasted the URL into a browser and got the error:

Internet Explorer was not able to open this Internet site.
The requested is either unavailable or cannot be found.
Please try again later.

You may want to use On Error Resume Next
and check for errors.
Oct 5 '07 #2
"Max2006" <al*******@newsgroup.nospamwrote in message
news:OM**************@TK2MSFTNGP05.phx.gbl...
Hi,

This classic asp code :

<%
Dim objXMLHTTP
Set objXMLHTTP = Server.CreateObject("microsoft.XMLHTTP")
objXMLHTTP.Open "GET",
"http://finance.yahoo.com/d/quotes.csv?s=ABX+ABX.TO&f=sl1d1t1c1ohgv&e=.csv",
False
objXMLHTTP.Send
Response.write objXMLHTTP.ResponseText
%>

Returns the follwoing error:

msxml3.dll error '80070005'
Access is denied.
/tsx/sg.ASP, line 8

Is there any way I can fix that?
Apart from the fact that the URL you've provided doesn't appear to be
accessible anyway. You should use "MSXML2.ServerXMLHTTP.3.0" or (since
you're not actually getting XML) "WinHttp.WinHttpRequest.5.1".

--
Anthony Jones - MVP ASP/ASP.NET
Oct 5 '07 #3
Sup Max?

Looks like it is working today.

Maybe Yahoo!'s site was down at the time for maintenance. You could ask
them, but by the time they answered you, we'd both have forgotten what the
question was!

BTW: That's a neat way of grabbing stock quotes! I like it. Do you have more
to show? :)

"Max2006" asks:
Hi,

This classic asp code :

<%
Dim objXMLHTTP
Set objXMLHTTP = Server.CreateObject("microsoft.XMLHTTP")
objXMLHTTP.Open "GET",
"http://finance.yahoo.com/d/quotes.csv?s=ABX+ABX.TO&f=sl1d1t1c1ohgv&e=.csv",
False
objXMLHTTP.Send
Response.write objXMLHTTP.ResponseText
%>

Returns the follwoing error:

msxml3.dll error '80070005'
Access is denied.
/tsx/sg.ASP, line 8

Is there any way I can fix that?

Any help would be appreciated,
Max


Oct 5 '07 #4

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

Similar topics

5
by: aaj | last post by:
Hi all I have written a small app on my machine that I have passed on to a colleague for testing. The problem is, as soon as he steps through in debug mode and reaches try { conn.Open();...
2
by: Frances Del Rio | last post by:
please, can you go to http://www.francesdelrio.com/dhtml/ when you click the name of the character the font color for all the lines of that character should change.. this is a simple DHTML...
2
by: mclagett | last post by:
Can anyone please help me figure out why all of a sudden (even after many restarts of Visual Studio 2005 and reboots, etc) I am no longer able to set breakpoints in the disassembler window. I...
0
by: Ralph | last post by:
Greetings. I've had the following code running perfectly on site for nearly 18 months and then on March 2, 2005 I started getting reports from users that my file download feature was broken. It's...
232
by: robert maas, see http://tinyurl.com/uh3t | last post by:
I'm working on examples of programming in several languages, all (except PHP) running under CGI so that I can show both the source files and the actually running of the examples online. The first...
0
by: =?Utf-8?B?TWF0dCBDYWxob29u?= | last post by:
Hi there, Have had Team Foundation Server working for months now and all of a sudden after a restart of IIS it has been failing with errors: The identity of application pool 'TFS AppPool' is...
22
by: flit | last post by:
Hello All, I have a hard question, every time I look for this answer its get out from the technical domain and goes on in the moral/social domain. First, I live in third world with bad gov., bad...
2
DAF LAD
by: DAF LAD | last post by:
Hi. I have been running an access Database in Office 2003 for a while now. When I upgraded to Office 2007 one of my macro buttons has stopped working. The Button looks up to VBA code to Import...
1
by: wojski696969 | last post by:
Hi.. i've got the serious problem.. In my ASP.NET 2.0 application I'm using COM dll file referenced by interop dll. I'm using few properties from in one of the objects made from this library...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.