Http timeout, catch cleint side error

2 posts, 0 answers
  1. Osmon
    Osmon avatar
    10 posts
    Member since:
    Aug 2010

    Posted 08 Oct 2010 Link to this post

          I have 2 issues as follows:

    The timeout for Ajax is not long enough so i want to increase the ajax timeout. I do have the config in web.config. I do not know that it actually works. My waiting time could be from 15--30 min.

    <httpRuntime executionTimeout="900" maxRequestLength="4096" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" />

    Also, as the timeout finishes. The page now has the Javascript error and show the error message at the bottom of IE. So, is there any way i can handle those error and do some custom handling instead of passing it to the user.

    Let me know the details. Thanks,


  2. Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 08 Oct 2010 Link to this post

    Hello Osmon,

    If your waiting is between 15-30 min, why is your executionTimeout set to 15min, instead of 30? Also, to handle the error returned during the ajax request, this is the link it gives in the telerik help documentation.

    It handles the ScriptManager's error event.

    I hope that helps.
Back to Top