Solved

xmlhttprequest - post error code

Posted on 2001-06-11
1
974 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Suggested Courses
Course of the Month4 days, 11 hours left to enroll

635 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