Hi,
I've created my own signup form and creating the user using the Membership class.
MembershipCreateStatus status;
MembershipUser newUser = Membership.CreateUser(tbxUsername.Text, tbxPassword.Text, tbxEmail.Text, null, null, true, out status);
After the user is created using the code about, I try to set some profile properties like so
Profile.CountryCode = ddlCountry.SelectedValue;
Profile.DisplayName = tbxDisplayName.Text;
Profile.Save();
However I get the following exception message
This property cannot be set for anonymous users.
Any ideas why im getting this?