I have a detail when loading the StoredProcedure
and fill in a datatable
, I mark the error:
"Timeout expired The timeout period elapsed prior to completion of the operation or the server is not responding The statement has been terminated"
I already tried with ...
var conn = new SqlConnection(@"SERVER=server;DataBase=db; user=us;password=pass;Connect Timeout=120;");
SqlCommand comm = new SqlCommand("stored_procedure", conn);
and when I run the SP
in SQL Server
it takes 1min very long to load the info!