title: ConnectionString property not initialized
body: <p>I know this questions has been asked before, but previous answers doesn't seem to be relevant for my problem.</p>
  
  <p>I periodically get the "The ConnectionString property has not been initialized." error. This is what the connection string looks like in web.config</p>
  
  <pre><code>&lt;connectionStrings&gt;
          &lt;add name="Dev" connectionString="Data Source=192.168.200.132,1445;Initial Catalog=Test;User Id=tester;Password=test123;Pooling=true" providerName="System.Data.SqlClient"/&gt;
  &lt;/connectionStrings&gt;
  </code></pre>
  
  <p>I'm getting the connection string using </p>
  
  <pre><code>ConfigurationManager.ConnectionStrings["Dev"].ConnectionString
  </code></pre>
  
  <p>Here is the stacktrace</p>
  
  <pre><code>at System.Data.SqlClient.SqlConnection.PermissionDemand()
  at System.Data.SqlClient.SqlConnectionFactory.PermissionDemand(DbConnection outerConnection)
  at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
  at System.Data.SqlClient.SqlConnection.Open()
  at Lite.Data.Database`2.CheckConnection()
  at Lite.Data.Database`2.ExecuteReader(String sql, QueryParam[] args)
  at Lite.Data.LiteQuery.Results()
  </code></pre>
  
  <p>I have a simple query builder. <code>Results()</code> compiles the query and executes it using the database class.</p>
  
  <p>Also, do you know why there's a "`2" after my database class name?</p>
  
  <p>Thanks.</p>