I get the below error when I query a SQL Server database from my ASP.NET
application. It looks like the timeout is 30 seconds.
How can I increase the timeout?
Olav
ERROR [HYT00] [Microsoft][ODBC SQL Server Driver]Timeout expired
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.Data.Odbc.OdbcException: ERROR [HYT00]
[Microsoft][ODBC SQL Server Driver]Timeout expired
Source Error:
Line 33: DataSet myDataSet = new DataSet();
Line 34:
Line 35: myDataAdapter.Fill(myDataSet, "Users");
Line 36:
Line 37: DataGrid1.DataSource = myDataSet;