title: ASP .Net MVC 4, Invalid value for key 'attachdbfilename'
body: <p>I'm new to asp.net mvc 4</p>
  
  <p>Below is my connection string</p>
  
  <pre><code>&lt;add name="MovieDBContext"
       connectionString="Data Source=(LocalDB)\v11.0;
                         Initial Catalog=Movies;
                         AttachDbFilename=|DataDirectory|\Movies.mdf;
                         Integrated Security=True" 
       providerName="System.Data.SqlClient" /&gt;
  </code></pre>
  
  <p>I'm getting following error when trying to access a particular control by url</p>
  
  <blockquote>
    <p>Invalid value for key 'attachdbfilename'.</p>
  </blockquote>
  
  <p>The error itself says it is due to a wrong connection string,but I cant find where the problem is.
  I'm using VisualStudio Management Studio.</p>