G
Guest
Hi,
i have a table data of 3 millions. When i try to populate the dataset from sqlcommand object or dataadapter it gives my following error
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
I checked iis the timeout is 20 mins i think its enough and i tried setting commandtimeout, but still its giving me same error
What is the solution?
Regards
Yaseen
i have a table data of 3 millions. When i try to populate the dataset from sqlcommand object or dataadapter it gives my following error
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
I checked iis the timeout is 20 mins i think its enough and i tried setting commandtimeout, but still its giving me same error
What is the solution?
Regards
Yaseen