title: Where is default connection of Entity Framework define?
body: <p>I create a ASP.NET Web Application with Entity Framework. My web.config is like this</p>
  
  <pre><code>&lt;entityFramework&gt;
  &lt;defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/&gt;
  &lt;providers&gt;
    &lt;provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /&gt;
  &lt;/providers&gt;
  &lt;/entityFramework&gt;
  </code></pre>
  
  <p>I want to view my database in SQL Server Management Studio. I couldn't find where is server that stored my data in Entity Framework. Until i'm using Glimpse to see where it is. So my database created in <code>.\SQLEXPRESS</code>. I want to change default connection into another server. I have tried something like this</p>
  
  <pre><code>&lt;entityFramework&gt;
  &lt;defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"&gt;
    &lt;parameters&gt;
      &lt;parameter value="v11.0" /&gt;
    &lt;/parameters&gt;
  &lt;/defaultConnectionFactory&gt;
  &lt;providers&gt;
    &lt;provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /&gt;
  &lt;/providers&gt;
  &lt;/entityFramework&gt;
  </code></pre>
  
  <p>But it caused an error <code>ArgumentException</code>. So what am i supposed to do to change default connection server?</p>
  
  <p>I'm using Code First Approach to create the database</p>