Ajax call fails in IIS and works only when IIS is restarted

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iamchris
    New Member
    • Jun 2012
    • 3

    Ajax call fails in IIS and works only when IIS is restarted

    Hello guys,

    I am working on a iis based web app where i am communicating to sql server database using ajax calls from client to asp page on the server side getting response as xml.

    My problem is that after two or three ajax calls the ajax calls starts to fail and status fails to return 200 in xmlhttp.status. But this happens occasionally.

    The web app then works fine only when iis is restarted.

    Please help me with this problem...
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    what status do you get from IIS in the fail-situations? do you get timeouts? what does IIS error logs say?

    Comment

    • iamchris
      New Member
      • Jun 2012
      • 3

      #3
      the error logs are returning a status of 500

      Comment

      • iamchris
        New Member
        • Jun 2012
        • 3

        #4
        The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.I got this error while using the fiddler application to check the response.

        Comment

        • gits
          Recognized Expert Moderator Expert
          • May 2007
          • 5390

          #5
          may be that: http://support.microsoft.com/kb/294807/en helps to get some more details for the 500-status?

          Comment

          Working...