title: ASP.NET setting up membershipprovider
body: <p>I have created a registration and a login form by using a wizard. But when someone registers and tries to login, they can't. I've come to understand that this because there is no membershipprovider. I created both my forms and my database automatically, Shouldn't there be a default membershipprovider then? is there a way to find out the name/settings of a possible membershipprovider?</p>
  
  <p>I tried to set up a membershipprovider myself with:</p>
  
  <pre><code>  &lt;membership defaultProvider="MembershipADProvider"&gt;
        &lt;providers&gt;
            &lt;clear/&gt;
            &lt;add name="MembershipADProvider" type="System.Web.Security.SQLMembershipProvider" connectionStringName="ASPNETDBConnectionString" applicationName="/"/&gt;
        &lt;/providers&gt;
    &lt;/membership&gt;
  </code></pre>
  
  <p>In the web.config file, but i just get an error that there is no default membershipprovider when i open the registration page. I also see there is a membershipprovider option in the registerform properties, but i don't get any successes here either.</p>