I have customized the CreateUserWizard and added a drop down for users to select the already stored application names from database table. In CreateUserWizard_CreatingUser I set the application name by using belo code
Membership.ApplicationName = ((DropDownList)CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl("DropDownList1")).SelectedValue.ToString();
Problem is, CreateUserWizard creates the user in aspnet_users table but with two different application name. One with that user selected from drop down and one with application root name start with "/". Please let me guide, how could I create user only with the applicaiton name that user selected in dropdown.
I have created a separate application setup screen for users to set any application and then used createuserwizard to setup new users for previously setup applications.
Thanks in advance