i have the following code:
if (Membership.FindUsersByName(username) == null)
{
Membership.CreateUser(username, password, email);
}
if (!Roles.RoleExists("USR"))
{
Roles.CreateRole("USR");
}
Roles.AddUserToRole(username,"USR");
Data is being inserted in the aspnet_Users and aspnet_UsersInRoles, but data is not being inserted in the aspnet_membership and i need this data as i'm using the asp login control.
can someone help me out?