title: Storing values to Profile in CreateUserWizard creates 2 copies of the same user in aspnet_Users
body: <p>Using the wizard to create user.  After the user has been created, I assign a profile variable.  When profile.Save() is called, a second user is created.  I have automaticSaveEnabled="false" in web.config.  Interestingly enough, this doesn't happen during debug!</p>
  
  <pre><code>public void CreateUserWizard1_CreatedUser(object sender, EventArgs e)
      {
  
          Int32 li_con_id = 406;
  
          TextBox tbx_username = (TextBox)CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl("UserName");
          if (tbx_username != null)
          {
              ls_username = tbx_username.Text;
          }
  
          // Store Con ID in user profile:
          UserProfile profile = UserProfile.GetUserProfile(ls_username);
          profile.con_id = Convert.ToString(li_con_id);
          profile.Save();
  
      }
  </code></pre>
  
  <p>Here's the Profile code:</p>
  
  <pre><code>using System.Web.Profile;
  using System.Web.Security;
  
  namespace WebApp
  {
  public class UserProfile : ProfileBase
  {
      public static UserProfile GetUserProfile(string username)
      {
          return Create(username) as UserProfile;
      }
  
      public static UserProfile GetUserProfile()
      {
          return Create(Membership.GetUser().UserName) as UserProfile;
      }
  
      [SettingsAllowAnonymous(false)]
      public string Description
      {
          get { return base["Description"] as string; }
          set { base["Description"] = value; }
      }
  
      [SettingsAllowAnonymous(false)]
      public string Location
      {
          get { return base["Location"] as string; }
          set { base["Location"] = value; }
      }
  
      [SettingsAllowAnonymous(false)]
      public string con_id
      {
          get { return base["con_id"] as string; }
          set { base["con_id"] = value; }
      }
  }
      }
  Web.config
     &lt;profile inherits="WebApp.UserProfile" automaticSaveEnabled="false"&gt;
      &lt;providers&gt;
        &lt;clear /&gt;
        &lt;add name="AspNetSqlProfileProvider"                type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" /&gt;
      &lt;/providers&gt;
    &lt;/profile&gt;
  </code></pre>
  
  <p>Two users are created: the second is associated with the Profile. Removing profile.Save() causes no profile entry to be created at all, even with automaticSaveEnabled="true".  I can't figure it out!</p>