Solved

xmlhttprequest - post error code

Posted on 2001-06-11
1
937 Views
Last Modified: 2008-03-10
Hello,
I need the complete error code description for POST method from XMLHTTPREQUEST object.
Short on green, I put a request on a server like this:

Dim xmlHTTP As MSXML.XMLHTTPRequest
xmlHTTP.open("POST", strServerName, False)
xmlHTTP.setRequestHeader("Content-type", "text/plain")
xmlHTTP.send(strStringToSend)
strResult = xmlHTTP.responseText()

Now, for example if the server is not started, the VB program shows the following error code:
"Web Server Not Available -2147012867"
Furthermore, if something happends with the connection during a request:
"The connection with the server was terminated abnormally -2147012866"

So far I've searched and I found a bunch of errors like these on <http://www.microsoft.com/officedev/articles/Opg/015/015.htm>
but are not completed. I'm interested in errors that could appear mainly with/during a POST method...
I've figured out some with my program, but there must be more and I don't have the complete list...

thank you.
0
Comment
Question by:pelau
1 Comment
 
LVL 49

Accepted Solution

by:
DanRollins earned 200 total points
Comment Utility
Moderator, my recommended disposition is:

    DELETE this question.

DanRollins -- EE database cleanup volunteer
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

771 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now