Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > XMLHTTP SEND and 0x800C0005 error

Thread Tools

XMLHTTP SEND and 0x800C0005 error

Posts: n/a
I create one asp program like below, but when I run the asp as http://localhost/test.asp, I meet 0x800C0005 error...How to solve it?

Dim objXMLHTTP, xml

Set xml = Server.CreateObject("Microsoft.XMLHTTP")

xml.Open "GET", "", False

' Pull the data from the web page

Response.write "Here's the html we now have in our xml object"
Response.write "<BR><BR><BR>"
Response.Write "<xmp>"
Response.Write xml.responseText
Response.Write "</xmp>"
Response.write "<BR><BR><BR>"
Response.write " Now here's how the page looks:<BR><BR>"
Response.Write xml.responseText

Set xml = Nothing

Reply With Quote
Posts: n/a
well, the first most obvious question is "are you connected to the net"?

Atrax. MVP, IIS

newsflash : Atrax.Richedit 1.0 now released.

*** Sent via Developersdex ***
Don't just participate in USENET...get rewarded for it!
Reply With Quote
Aaron Bertrand - MVP
Posts: n/a
> I meet 0x800C0005 error...How to solve it?

That's great, but what is the TEXT of the message? You don't expect people
to identify hex codes in one glance, do you?

Anyway, try setting the user agent header, as I'm sure tries
to prevent being overrun by spiders, xmlhttp requests, etc. You can see
sample code at

Or, run your test against a site that is not such an obvious "test"
destination that would implement any kind of packet blocking/filtering...

Aaron Bertrand
SQL Server MVP

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to send XMLHTTP object from a button input jr Javascript 6 08-01-2010 03:53 PM
Msxml*.XMLHTTP vs. Microsoft.XMLHTTP yawnmoth Javascript 11 11-09-2006 08:44 PM
Can't send cookies using XMLHTTP Lu Wei Javascript 1 08-13-2006 05:06 AM
Msxml2.XMLHTTP object's send method throwing HTTP /1.1 405 - Method not allowed error. RK Javascript 5 08-08-2004 08:52 PM
error message msxml3.dll (0x800C0005) shubha ASP General 0 01-14-2004 01:31 PM