The information in this article applies to:
SYMPTOMS
Active Server Pages (ASP) script or Internet Server API (ISAPI) code that attempts to use XMLHttpRequest (Microsoft.XMLHTTP) functionality of the Microsoft XML engine (MSXML) to send XML requests to another Web server may function incorrectly or perform poorly. CAUSEThe XMLHttpRequest support in MSXML and the load method, when using a remote URL, sends HTTP requests using the Internet Explorer URLMON and WININET components. These components were designed and tested only to be used from a client machine in a regular user process. The IIS and ASP system runs in a protected server service that imposes performance and security constraints on server applications that breaks some of the functionality of URLMON and WININET. RESOLUTIONReplace XMLHTTP request code on the server with an alternative that does not rely on URLMON or WININET, such as the WINSOCK control that ships with Visual Basic. STATUSThis behavior is by design. MORE INFORMATION
The XMLHttpRequest object (the IXMLHttpRequest interface in C++) is used to both send XML requests to a Web server and return XML responses from the Web server back to the client. A client machine initiates a request to the server by creating an instance of the XMLHttpRequest object and then calling the open and send methods. When the readyState property transitions to COMPLETE, the server has returned a response that can be retrieved on the client through one of the response methods, such as responseBody. REFERENCESXMLHttpRequest Object Documentation Q188955 HOWTO: Use Internet Transfer Control in ASP or in WSH Script Q216288 PRB: Using the Internet Transfer Control on an ASP Page © Microsoft Corporation 1999, All Rights Reserved. Additional query words:
Keywords : kbGrpInet kbIE500 kbXML kbDSupport kbIEFAQ |
Last Reviewed: February 1, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |