title: DB Connection string in Web.config to use attached .mdf database won't work
body: <p>The file neodb.mdf is in my App_Data folder and I can browse the database in the server explorer in visual studio, using built in SQLEXPRESS:</p>
  
  <p>Currently trying to no avail:</p>
  
  <pre><code> &lt;connectionStrings&gt;
      &lt;add name="EFDbContext" connectionString=".\SQLExpress;AttachDbFilename=|DataDirectory|neodb.mdf; Database=neodb;Trusted_Connection=Yes;" providerName="System.Data.SqlClient"/&gt;
    &lt;/connectionStrings&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code> &lt;connectionStrings&gt;
      &lt;add name="EFDbContext" connectionString="Data Source=.SQLEXPRESS;Database=neodb.mdf;Integrated Security=True" providerName="System.Data.SqlClient"/&gt;
    &lt;/connectionStrings&gt;
  </code></pre>
  
  <p>Also as I understand the *.mdf is an SQL server database file type and .dbo is owner of file when it's included in the initial catalog ? What's the initial catalog anywhere ?</p>