« Previous Next »

Thread: serverXMLHTTP request to asp file on same domain

Last post 10-24-2009 2:09 PM by sectionI. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 10-24-2009, 12:20 PM

    • sectionI
    • Not Ranked
    • Joined on 10-24-2009, 12:16 PM
    • Posts 2

    serverXMLHTTP request to asp file on same domain

    Hi,

     I am trying to call one asp file from another asp file that is on the same domain.

    when i run the xmlhttp.send command, the request hangs and i get a time out from the xmlhttp object.

     

    when i run the second file manually it runs fine.

    i'm using iis7 on windows server 2008 web edition.

    i had the same problem on my local computer running vista but i changed the asp debugging to false so that my website won't run in single thread and that solved the problem.

     

    however i do not have asp debugging enabled on my server so i do not know how to solve this.

    if i go to the application pool of the website and increase the web processes from 1 to 2, then it works. but i have a feeling this should work on one process just fine aswell...

     

    is there anyway to find out if my iis is running on single thread?

    is there anything else that might explain this?

     

    thank you.

  • 10-24-2009, 2:09 PM In reply to

    • sectionI
    • Not Ranked
    • Joined on 10-24-2009, 12:16 PM
    • Posts 2

    Re: serverXMLHTTP request to asp file on same domain

    Ok, managed to solve it but i would be happy for some clarifications.

     

    i clicks ASP icon and there i clicked com plus properties.

    i had a property there "Execute in MTA" set to true.

    once i set it to false everything stated to work properly and i am able to make xmlhttp calls to local url's with no problem now.

     

    so now i'm confused.. isn't MTA a good thing? it seems that now that i have disabled it then my site or xmlhttp anyway works in multithreading.. how come?

Page 1 of 1 (2 items)
Microsoft Communities