Solved

Microsoft.XMLHTTP: error (0x800C0005)

Posted on 2004-03-28
9
1,327 Views
Last Modified: 2012-08-13
code:

<%

Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", "http://users.pandora.be/hts/error", true
xml.Send


Set fso = CreateObject("Scripting.FileSystemObject")
Set MyFile = fso.CreateTextFile("c:\err.txt", True)

MyFile.writeLine(xml.responseText)
response.Write (xml.responseText)

MyFile.Close
%>

this is a known script for retrieving the content of a webpage
when I ran the script the first time (localhost) I had error (0x800c005)
When I loaded the "http://users.pandora.be/hts/error" en ran then the script again all seems ok
when I changed the content of "http://users.pandora.be/hts/error" the asp page showed me the content of the previous error file.
When I cleared the cache again I received error (0x800c005)

is there a way to preload "http://users.pandora.be/hts/error" on serverside or there an other way?

thanks

Bart - Belgium
0
Comment
Question by:bdbsailor
9 Comments
 
LVL 7

Expert Comment

by:TheKenman
ID: 10702101
I couldn't find any info on 0x800c005, does it come with error text?

As far as pre-loading, I haven't needed that much, but I think you can pre-cache content by using file includes.
0
 
LVL 15

Accepted Solution

by:
deighc earned 63 total points
ID: 10702548
You're making an asynchronous connection to the remote server. This might cause problems because you're trying to access the responseText property before there is any response from the server. Try using:

xml.Open "GET", "http://users.pandora.be/hts/error", false
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 10704442
deighc,

>>You're making an asynchronous connection to the remote server. <<
Good catch!
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:bdbsailor
ID: 10705851
error text 0x800c005?? nothing

Error Type:
(0x800C0005)
/checklist/testretrieve.asp, line 20


that's all I get

sorry, I used "GET", "http://users.pandora.be/hts/error", false all the time but in a way for testing I used 'True' (asynch).

today I tried an other server with another text - file and didn't get the 0x800c005 BUT always I received the same content unless the content of the text on the webpage changed.

other ideas?
0
 
LVL 2

Assisted Solution

by:khurram007
khurram007 earned 62 total points
ID: 11606573
Its a network access premission problem...

It would be ideal if you login on your computer with local admin user, not network user.

now here is what you have to do.........

1.   Open the Internet Services Manager: On the Start menu, point to Programs, point to Administrative Tools, and then click Internet Services Manager.
2.   Right-click the Web application that you want to run as High (isolated), and then click Properties.
3.   On the Directory or Virtual Directory tab, set the Application Protection to High (Isolated), and then click OK.
4.   Open the Component Services console: On the Start menu, point to Programs, point to Administrative Tools, and then click Component Services.
5.   Click to expand the Component Service, Computers, My Computer, and COM+ Applications folders. Locate the COM+ application for your Web application (for example, IIS-Default Web Site//Root/AppName).
6.   Right-click the COM+ application, and then click Properties.
7.   On the Identity tab, click This User. Type a domain\user ID and password with the appropriate domain access to your network resource, and then click OK.

Now check it... I am damn sure it will work... cauz it worked for me after I suffered for the same problem for about 2 months...
cheers...

Khurram.
0
 
LVL 2

Expert Comment

by:khurram007
ID: 12703207
I thought my solution worked for him.... cauz he never replied after that... lol.

Khurram.
0
 
LVL 33

Expert Comment

by:hongjun
ID: 12703218
:)
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Copy only dates 3 89
Query to get the soonest date out of a few records 2 50
Need to rewrite code for checking if a file exists 3 68
key press alert 2 19
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question