Asp.net Forum

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds

Timeout period on server?

  Asked By: Keana    Date: Apr 05    Category: Asp.net    Views: 609

I am doing a SQL statement and filling a datagrid with the results,
but I get a message that the time out period has elapsed prior to
completion. I would appreciate any help with how to extend the
timeout period.



2 Answers Found

Answer #1    Answered By: Jenny Lopez     Answered On: Apr 05

Can we see your SQL statement? It may be that you need to make your query more efficient, or close a loop or something.

Answer #2    Answered By: Aiko Suzuki     Answered On: Apr 05

2 ways
connection object has a .connectiontimeout property

I agree with Pete though I would like to see what you are doing so we can maybe make it faster to start with and not have to increase the timeouts.

Didn't find what you were looking for? Find more on Timeout period on server? Or get search suggestion and latest updates.