Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 989
  • Last Modified:

xmlhttprequest - post error code

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
pelau
Asked:
pelau
1 Solution
 
DanRollinsCommented:
Moderator, my recommended disposition is:

    DELETE this question.

DanRollins -- EE database cleanup volunteer
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now