Hi all,
I have a function to let logged in users to create new user account. I used CreateUserWizard together with profile to implement it. I got a problem that when the create user process completed, I found that a new record can be created in the table aspnet_Membership, but not for the table aspnet_Profile, the profile records for the new account were saved to the logged in user's account. For example, before creating the new user account, there are 3 records for both tables aspnet_Membership and aspnet_Profile, after the process, I can found 4 records in aspnet_Membership but only 3 in aspnet_Profile. Here is my coding:
<asp:CreateUserWizard runat="server" ID="UserRegistrationWizard" AutoGeneratePassword="false"
OnFinishButtonClick="CreateUserAccountButtonClick" LoginCreatedUser="false" ContinueDestinationPageUrl="~/Users/Admin/ListUser.aspx"
...
Go to the complete details ...