Menu

#85 How to increase timout

open
nobody
None
5
2005-03-25
2005-03-25
Vivek Jain
No

My page is takes lots of time to load. Mean while
NUnitAsp throws the exception

System.Net.WebException : The operation has timed-
out.

How to increase the timeout period.

Thanks,
Vivek

Discussion

  • Naeem S.

    Naeem S. - 2005-04-07

    Logged In: YES
    user_id=1121564

    If your page takes a long time to load what will the user of
    the site think?

    I guess you should look at the reason why your page is
    taking a long time to load.

    Can you shed some more light as to why it is taking so long?

    Naeem.

     
  • Vivek Jain

    Vivek Jain - 2005-04-07

    Logged In: YES
    user_id=1049203

    Thanks for the resonse,

    The pages I am using are actually display the reports. Some
    reports takes very long time to load. I know the site is
    performing very poor but the performance tunning is later part
    of the project. I need to test the correctness of the output
    first.
    I just want to know how to increase the timeout. Let me know
    If this parameter is not yet configurable.I will find some
    workaround till then.

    Thanks,
    Vivek

     
  • Naeem S.

    Naeem S. - 2005-04-08

    Logged In: YES
    user_id=1121564

    The page timeout is set in the machine.config but you
    shouldn't change it there. Add the following line to your
    web.config to override the default value of 90 seconds.

    <codeStart>
    ....
    <system.web>
    ...
    <httpRuntime executionTimeout="90" />
    ...
    </system.web>
    ...
    </codeEnd>

     

Log in to post a comment.