ASP script debugging XMLHTTP component issue

From: Andriy Gushulay (gushulay_at_ua.fm)
Date: 05/12/04

  • Next message: Bill Carson: "If anyone can help."
    Date: 12 May 2004 04:32:13 -0700
    
    

    Issue show one's worth, when you use "POST" method to download remote
    page(s) through MSXML2.XMLHTTP or MSXML2.ServerXMLHTTP in ASP scripts.
    Also Issue become apparent only when ASP script debugging turned on
    virtual server.

    A call of object instance send() method ended with following error:

    msxml3.dll error '80072ee2'
    The operation timed out
    /one.asp, line 5.

    Using "GET" method, or usin "POST" method with ASP script debugging
    turned off not produce problems.

    Issue tested on:
    IIS 5.0 (Windows 2000 standart server)
    IIS 5.1 (Windows XP Professional)
    IIS 6.0 (Windows 2003 Server Standart Edition)

    MSXML 3.0 SP4
    MSXML 4.0 SP2
    MSXML 5.0 (from Microsoft Office)

    =====================
    Best regards
    Andriy Gushulay

    Example source codes:
    === begin one.asp ===
    <%@ Language="JavaScript" %>
    <%
            var xhttp = Server.CreateObject("MSXML2.ServerXMLHTTP");
            xhttp.open("POST", "http://localhost/two.asp", false);
            xhttp.send();
            
            Response.Write(xhttp.responseXML.xml);
            Response.Write(xhttp.responseText);
    %>
    === end one.asp ===

    === begin two.asp ===
    <%@ Language="JavaScript" %>
    <%
            var xml = Server.CreateObject("MSXML2.DOMDocument");
            xml.loadXML("<test><item>one</item><item>last</item></test>");
            
            Response.Write(xml.xml);
    %>
    === end two.asp ===


  • Next message: Bill Carson: "If anyone can help."

    Relevant Pages

    • Re: IIS Start up errors
      ... provide the detailed steps to reinstall the IIS server in SBS 2003 server. ... For example, programs such as Microsoft ... In the Currently installed programs list, click Windows Small Business ...
      (microsoft.public.windows.server.sbs)
    • Re: Active Directory Services cannot find the web server
      ... I am having the same problem with a windows xp pro with iis 5.1 ... incedently does not work properly when connecting to the server. ... both the client and server and still no luck. ...
      (microsoft.public.dotnet.faqs)
    • Re: restated: VS Develper (non Admin) missing IIS MMC Management
      ... > debug ASP in VB.Net, and of course manage IIS MMC. ... > Microsoft Development Environment ... > Information Server on the client and the server. ... > server from a Windows NT 4.0 client. ...
      (microsoft.public.dotnet.framework.setup)
    • Re: restated: VS Develper (non Admin) missing IIS MMC Management
      ... > debug ASP in VB.Net, and of course manage IIS MMC. ... > Microsoft Development Environment ... > Information Server on the client and the server. ... > server from a Windows NT 4.0 client. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: restated: VS Develper (non Admin) missing IIS MMC Management
      ... > debug ASP in VB.Net, and of course manage IIS MMC. ... > Microsoft Development Environment ... > Information Server on the client and the server. ... > server from a Windows NT 4.0 client. ...
      (microsoft.public.dotnet.general)