Article ID: 299566 - Last Review: October 19, 2009 - Revision: 4.0 How To Identify HTTP Errors When You Use the ServerXMLHTTP ObjectThis article was previously published under Q299566 On This PageSUMMARY
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. MORE INFORMATIONStep-by-Step Example
REFERENCES
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
290761
(http://support.microsoft.com/kb/290761/
)
Frequently Asked Questions about ServerXMLHTTP
289481
(http://support.microsoft.com/kb/289481/
)
You may need to run the Proxycfg tool for ServerXMLHTTP to work
APPLIES TO
| Article Translations
|
Back to the top
