Hi all
I have a timout problem when I call "DataAdapter.Fi ll".
When I debug, I see that all timeout settings are correct,
ConnectionTimeo ut is 0 and also CommandTimeout is 0.
But when I call the fill method I get:
"Timeout expired. The timeout period elapsed prior to completion of the
operation or the server is not responding."} System.Exceptio n
{System.Data.Sq lClient.SqlExce ption}
Here is what I do:
Conn.Connection String = "Data Source=ServerXY ;Initial Catalog=master; Connect
Timeout=0;Integ rated Security=SSPI;"
Command.Command Timeout = 0
System.Data.Sql Client.SqlDataA dapter local_DataAdapt er = new
System.Data.Sql Client.SqlDataA dapter(Query, Conn);
System.Data.Dat aSet local_DataSet = new System.Data.Dat aSet();
local_DataAdapt er.Fill(local_D ataSet, DataSetTableNam e);
Thanks for any comments !!
Regards
Frank