title: Membership provider error mvc web.config
body: <p>I am getting membership error in my application.</p>
  
  <p>This is my <code>web.config</code> section that is creating error.</p>
  
  <pre><code>&lt;membership defaultProvider="DefaultMembershipProvider"&gt;
              &lt;providers&gt;
                  &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;
              &lt;/providers&gt;
          &lt;/membership&gt;
  </code></pre>
  
  <p>Like all other same questions like this one I have read, are telling me about adding <code>defaultProvider</code> and <code>name</code> to this config file.</p>
  
  <p>But I already have <code>defaultProvider</code> and name set to by default in there.</p>
  
  <p>What other customization needs to be done?</p>
  
  <p>You can see this error here-</p>
  
  <p><a href="http://funranger.com" rel="nofollow"><a href="http://funranger.com" rel="nofollow">http://funranger.com</a></a></p>