title: “Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.”
body: <pre><code>{
  DataSet obj= new DataSet();
                  SqlParameter[] sqlParams = new SqlParameter[2];
                  sqlParams[0] = new SqlParameter("@val", SqlDbType.Int);
                  sqlParams[0].Value = val;
                  sqlParams[1] = new SqlParameter("@val1", SqlDbType.Int);
                  sqlParams[1].Value = val1;
  
  
                  return DataAccessHelper.DataAccessHelper.SqlHelper.ExecuteDataset(connection, CommandType.StoredProcedure, "sp", sqlParams);
  
  }
  </code></pre>
  
  <p>i have set connection timeout in web config and i can't use command timeout in c# ,am not using sqlcommand .my code stored procedure is taking around 2 mins so am getting this error.please suggest me to solve this issue</p>