Increase Timeout to Get Query Results

  • How do you increase the timeout for the page?

    To avoid this error:

    System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

  • First, I think you posted this on the wrong forum.

    Second, that type of error normally means that there's something wrong with either some slow code that needs to be reworked or someone has a lock in the database preventing further access by others. Increasing the timeout rarely works as expected.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • Where do you suggest one can find the answer to my question?

  • If it's on the GUI side that you want to do this, then I'm not sure.

    If it's on the SQL Server side of the house, a trip to Books Online will reveal all.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • On the SQL side it's not a problem because the queries run ok in query analyzer....

    The GUI is an issue...will have to keep looking...

    Thanks anyway...

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply