title: connect timeout=0???? what about? timeout value expired with 1500
body: <pre><code>System.Data.SqlClient.SqlConnection conec = new System.Data.SqlClient.SqlConnection("data source=" + servidor + "; initial catalog=" + basedatos + "; user id=" + usuario + "; password=" + contra + "; Connect Timeout=1500;  Packet Size=32767; ");
  </code></pre>
  
  <p>that is my connection  but i got <code>timeout value expired</code>
  i changed it to 0 and i got the same message 
  but when i changed it to my <code>sqlcommand</code></p>
  
  <pre><code>System.Data.SqlClient.SqlCommand comando = new System.Data.SqlClient.SqlCommand(consulta, conexion);
              comando.CommandTimeout = 0;
  </code></pre>
  
  <p>it works ok, why doesn´t it work if i have 0 in my connection string? what is 
  the difference? i have listen about connection lifetime but i don't have idea about it.</p>