CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2006
    Posts
    10

    Timeout Problem in Ajax

    hi

    I am working with AjaxEnableWebsiteApplication. Sometimes i got Timeout Exception like..

    Sys.WebForms.PageRequestManager TimeoutException: The Server request timed out.

    How to avoid this problem.. ?

    pls Help me

    thankyou

    veeresh

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto
    Posts
    805

    Re: Timeout Problem in Ajax

    in your scriptManager object change the AsyncPostBackTimeOut to something large.

    heres some more info: http://ajax.asp.net/docs/mref/P_Syst...ckTimeout.aspx

    hth,
    mcm
    rate my posts!
    mcm

  3. #3
    Join Date
    Jun 2007
    Posts
    1

    Question Re: Timeout Problem in Ajax

    Quote Originally Posted by mcmcom
    in your scriptManager object change the AsyncPostBackTimeOut to something large.

    heres some more info: http://ajax.asp.net/docs/mref/P_Syst...ckTimeout.aspx

    hth,
    mcm

    Hy,

    Your solution it's good. I changed the AsyncPostBackTimeout value to something large. I don't have anymore the timeout exception, BUT

    It takes too long .. on the same project, on the version without Ajax it takes 2 min, and in the version using ajax it takes 40 minutes the same process (action). The process it's callled from masterpage.

    Do you have any solution for me?
    Please,

    Best regards,
    baby blue
    Last edited by baby_justblue; June 21st, 2007 at 04:15 AM.

  4. #4
    Join Date
    May 2002
    Posts
    10,943

    Re: Timeout Problem in Ajax

    May I ask...why are you using AJAX to complete a process of 40 minutes minimum? And what is this server-side script doing?
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured