title: asp.net Membership.CreateUser() not creating user
body: <p>My tables have been created in my database for both aspnet_Membership, aspnet_Users for Membership and I AspNetUsers since I was using a different way before. Anyways, my connection is good to my database since it was inserting users into AspNetUsers but I want to use Membership so when I call Membership.CreateUser(), it doesn't insert into my table aspnet_Membership. </p>
  
  <p>Any ideas?</p>
  
  <p>Web.config</p>
  
  <pre><code>    &lt;connectionStrings&gt;
          &lt;add name="DefaultConnection" 
            connectionString="Data Source=LAPTOP\SQLExpress; Initial Catalog=Application; Integrated Security=True;"
            providerName="System.Data.SqlClient" /&gt;
      &lt;/connectionStrings&gt;
      &lt;membership defaultProvider="MembershipProvider" userIsOnlineTimeWindow="10"&gt;
        &lt;providers&gt;
          &lt;add name="MembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionString="Data Source=LAPTOP\SQLExpress; Initial Catalog=Application; Integrated Security=True;" connectionStringName="DefaultConnection" applicationName="Application"/&gt;
        &lt;/providers&gt;
      &lt;/membership&gt;
  </code></pre>
  
  <p>Register.aspx.cs</p>
  
  <pre><code>protected void CreateUser_Click(object sender, EventArgs e)
      {
          if (!Username.Text.Equals("") &amp;&amp; !Password.Text.Equals("") &amp;&amp; !Email.Text.Equals(""))
          {
              MembershipCreateStatus createStatus;
              MembershipUser newUser = Membership.CreateUser(Username.Text, Password.Text, Email.Text, "", "", true, out createStatus); 
          }
      }
  </code></pre>