Solved

xmlhttprequest - post error code

Posted on 2001-06-11
1
945 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
ID: 7135884
Moderator, my recommended disposition is:

    DELETE this question.

DanRollins -- EE database cleanup volunteer
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…

816 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