Microsoft Knowledge Base Email Alertz

KBAlertz.com: When you use the Send method of XMLHttp on XML 2.6 or later, you may see a return result code of 0x800C0008.

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 302820 - Last Review: October 12, 2001 - Revision: 1.0

PRB: The Send Object of XMLHttp May Fail with 0x800C0008

This article was previously published under Q302820

On This Page

SYMPTOMS

When you use the Send method of XMLHttp on XML 2.6 or later, you may see a return result code of 0x800C0008.

CAUSE

There are no languages specified in Internet Explorer.

RESOLUTION

To check these settings in Internet Explorer, click Tools, click Internet Options, and then click Languages.... If this box is empty, add at least one language.

MORE INFORMATION

Steps to Reproduce This Behavior

If a newer version of MSXML has been installed in side-by-side mode, you must explicitly use the Globally Unique Identifiers (GUIDs) or ProgIDs for that version to run the sample code. For example, MSXML version 4.0 can only be installed in side-by-side mode. For additional information about the code changes that are required to run the sample code with the MSXML 4.0 parser, click the following article number to view the article in the Microsoft Knowledge Base:
305019  (http://kbalertz.com/Feedback.aspx?kbNumber=305019/EN-US/ ) INFO: MSXML 4.0 Specific GUIDs and ProgIds

  1. Clear the languages section in Internet Explorer.
  2. Use the following code to create a Receiver.asp file on the Internet Information Services (IIS) server:
    <%@language=vbscript%>
       <%
       	value = Request.Form("id")
       	Response.ContentType = "text/xml"
       	response.write "<ReturnValue>" & value & "</ReturnValue>"
       %>
    						
  3. On the client, create a Windows Scripting Host file named Test.vbs using the following code:

    NOTE: Replace <ServerName> with the name of your IIS server.
    DataToSend = "id=1"
    Change 2.6 to reflect the installed version of the Microsoft XML Parser; for MSXML 4, use 4.0
    Set xmlhttp = CreateObject("MSXML2.XMLHTTP.2.6")
    xmlhttp.open "POST", "http://servername/receiver.asp", False
    xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
    xmlhttp.send DataToSend
    WScript.Echo xmlhttp.responseXML.xml
    						
  4. Run Test.vbs. You should see the error code returned in a dialog box.

APPLIES TO
  • Microsoft XML Parser 2.6
  • Microsoft XML Parser 3.0
  • Microsoft XML Core Services 4.0
Keywords: 
kbprb KB302820
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Anonymous User Report As Irrelevant  
Written: 11/22/2006 2:51 AM
on 5.0 it still returns the same error, although, if I ignore it, the response content is there.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please