locked
ASP apppool correct behaviour? RRS feed

  • Question

  • User-528508429 posted

    Hello,

    Not sure if it is the correct behaviour. I suspect not.

    I have two ASP classic web applications under IIS7.5 on a windows7 ent x64

    On the default page of WEB1 I have this code:

    Dim objWinHttp
    Dim strHTML
    Set objWinHttp = Server.CreateObject("WinHttp.WinHttpRequest.5.1")
    objWinHttp.Open "GET", "http://mymachine/WEB2/page.asp"
    objWinHttp.Send
    strHTML = objWinHttp.ResponseText

    When WEB1 and WEB2 are runnning under the same apppool (a classic, 32bits, integrated)  when browsing into http://mymachine/WEB1/default.asp it raises a winhttp timeout.

    When WEB1 and WEB2 are running using two diferent apppool's (classis, 32bits, integrated) the same WEB1 default page runs without error. No timeouts.

    It seems the execution of the WEB1 default.asp blocks any other execution on the same apppool. Is that normal behaviour?  

    Friday, July 1, 2011 6:47 AM

All replies

  • User182198491 posted
    Certainly not normal... what is under Web 2?
    Friday, July 1, 2011 7:03 AM
  • User-528508429 posted

    WEB2 is another web application. The page.asp just do a Response.Write "Hello"

    The complete  default.asp in WEB1:

    <%
    Response.Expires=-1
    Dim objWinHttp
    Dim strHTML
    Set objWinHttp = Server.CreateObject("WinHttp.WinHttpRequest.5.1")
    objWinHttp.Open "GET", "http://localhost/WEB2/page.asp"
    objWinHttp.Send
    strHTML = objWinHttp.ResponseText
    Response.Write strHTML
    %>

    The complete page.asp in WEB2:

    <%
    Response.Write "Hello"
    %>

    Friday, July 1, 2011 7:14 AM
  • User-528508429 posted

    Is someone else getting the same result as me?

    When running WEB1 and WEB2 under the same AspAppPool (32bits,integrated,no managed code) the \WEB1\default.asp shows:

    "WinHttp.WinHttpRequest error '80072ee2'

    The operation timed out

    /WEB1/default.asp, line 7 "

    When I set WEB2 to run under a diferent pool AspAppPool2 (32 bits,integrated, no managed code) the \web1\default.asp shows the expected "Hello"

    Edit: These are the trace logs: http://dl.dropbox.com/u/19278236/W3SVC1.zip 

     

    Not sure if I need to reinstall IIS or do some other action to solve the problem. Well, in reality not sure at all if it is a problem or if it the expected result.

    Monday, July 4, 2011 11:57 AM
  • User-528508429 posted

    Any ideas why the apppool gets blocked?

    The test is very basic. I suppose somehow the WEB1 execution locks some object required for the WEB2 execution. When WEB2 timeouts the WEB1 then continue and show the error message.

    Maybe I should report the problem to MS. How could I do that?

    Sunday, July 24, 2011 2:20 PM
  • User-1672167363 posted

    Hello,

    A small interrupt for this thread.

    You might logon to  Microsoft Connect https://connect.microsoft.com/ and 

    either Report this as a problem or check for existing feedback.

    You can contact Microsoft Support here http://support.microsoft.com/  and select the product and type of support.

    You might find that http://support.microsoft.com/kb/2520479 Microsoft Support information about an update

    for Windows 7 Windows 2008 Service pack 1 using extension-less urls applies.

    You might use Failed requests just for WEB1 or WEB2 to Trouble Shoot the errors. 

    Martin

     

    Monday, July 25, 2011 1:30 PM
  • User-528508429 posted
    Thanks for the info. Unfortunately I don't know how to use the Microsoft Connect or the Microsoft Support links. The Microsoft Support page is full of links that finally comes to the first link. It is like an infinite bucle... In the Microsoft Connect I don't find any product there that seems to fit in my problem. Which product you would use to report the bug? IMO it seems a problem with the asp isapi, the iis7.5 or the winhhtprequest5.1 object. In the dropbox link above there are the Failed requests for WEB1 and WEB2 (I zipped the two xml and the xsl).
    Wednesday, July 27, 2011 6:53 AM
  • User-1672167363 posted

    Hi,

    To use Microsoft Connect login or browse the Feed Back for Visual Studio & Dot Net Framework you can expand the list

    using the status bar at connect.

    To use Microsoft Support select a Product like Windows then

    you have a combination of Labels(Topics) with Hover(Current Suggestions) and Rollover(Search or Click to Details)

      to the next group (pages in to Support Knowledge Base). 

    Did you check the Microsoft Support Knowledge Base article it looks like it would apply

    to what you have as problems.

    Martin

     

    Wednesday, July 27, 2011 7:24 AM