Solved

xmlhttprequest - post error code

Posted on 2001-06-11
1
958 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

735 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