title: The connection name 'DefaultConnection' was not found in the applications configuration or the connection string is empty
body: <p>I just started getting this message when I run my ASP.NET MVC 4 application in debug mode in Visual Studio 2010 Professional in the internal development server. It was working fine till yesterday. It just started coming yesterday.</p>
  
  <p>Also, this error comes only on my desktop. The application runs fine on all the other developer's machines, my laptop, and all the servers, both in debug mode as well as when deployed on IIS.</p>
  
  <p>The actual error I get in the yellow screen of death is given below:</p>
  
  <p><strong>Configuration Error</strong></p>
  
  <p><em>Description:</em> An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. </p>
  
  <p><em>Parser Error Message:</em> The connection name 'DefaultConnection' was not found in the applications configuration or the connection string is empty.</p>
  
  <p><strong>Source Error:</strong></p>
  
  <pre><code>Line 267:    &lt;membership defaultProvider="DefaultMembershipProvider"&gt;
  Line 268:      &lt;providers&gt;
  Line 269:        &lt;add name="DefaultMembershipProvider" 
                        type="System.Web.Providers.DefaultMembershipProvider,
                              System.Web.Providers, Version=1.0.0.0, Culture=neutral,
                              PublicKeyToken=31bf3856ad364e35" 
                        connectionStringName="DefaultConnection" 
                        enablePasswordRetrieval="false" enablePasswordReset="true"
                        requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
                        maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6"
                        minRequiredNonalphanumericCharacters="0" 
                        passwordAttemptWindow="10" applicationName="/" /&gt;
  Line 270:      &lt;/providers&gt;
  Line 271:    &lt;/membership&gt;
  </code></pre>
  
  <p>I checked the version history of my web.config in TFS and there isn't and there also <em>never used to be</em> a connection string by that name <code>DefaultConnection</code> ever.</p>