title: Error when updating DB: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified
body: <p>I'm using EF6 and have been making a few changes to my model.
  Now all the sudden I get the following error when trying to update my database through the nuget command <em>Update-Database</em>:</p>
  
  <blockquote>
    <p>A network-related or instance-specific error occurred while
    establishing a connection to SQL Server. The server was not found or
    was not accessible. Verify that the instance name is correct and that
    SQL Server is configured to allow remote connections. (provider: SQL
    Network Interfaces, error: 26 - Error Locating Server/Instance
    Specified)</p>
  </blockquote>
  
  <p>I did not change anything in my connection settings (or <em>web.config</em> in general) but here's my connection string:</p>
  
  <pre><code>  &lt;connectionStrings&gt;
      &lt;add name="DefaultConnection" connectionString="Data Source=(LocalDb)\v11.0;AttachDbFilename=|DataDirectory|\LM.DataAccess.mdf;Initial Catalog=LM.DataAccess;Integrated Security=True" providerName="System.Data.SqlClient" /&gt;
    &lt;/connectionStrings&gt;
  </code></pre>
  
  <p>In <strong>Server Explorer</strong> -> <strong>Data Connections</strong> I can access the database without any problems.</p>
  
  <p>What could be the issue here? I tried deleting the database through the <strong>SQL Server Object Explorer</strong> but I still get the error.</p>
  
  <p>Still need help people.
  Would really appreciate if someone could help me out - I've tried everything I could!</p>