How To Identify HTTP Errors When You Use the ServerXMLHTTP Object (299566)
The information in this article applies to:
- Microsoft XML 3.0
- Microsoft XML 3.0 SP1
- Microsoft XML 4.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0 SP3
- Microsoft Visual Basic Enterprise Edition for Windows 6.0 SP4
- Microsoft Visual Basic Enterprise Edition for Windows 6.0 SP5
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
This article was previously published under Q299566 SUMMARY
When you use the Microsoft XML (MSXML) ServerXMLHTTP object to run an HTTP operation (such as POST, GET, and PUT) that is unsuccessful, a trappable run-time error is not raised. Instead, if a problem is encountered while trying to run an HTTP operation, Microsoft Internet Information Server (IIS) returns a response code and description that indicates an error.
To access the response code and description that IIS returns, examine the Status and StatusText properties of the ServerXMLHTTP object. In application code that uses the MSXML ServerXMLHTTP object to run HTTP operations, you must examine the value of its Status and StatusText properties to determine whether the operation was successful.
REFERENCESFor additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
290761 Frequently Asked Questions about ServerXMLHTTP
289481 How To Proxy Configuration Must Be Run for ServerXMLHTTP to Work
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbhowto KB299566 |
---|
|