See Also: MembershipCreateUserException Members
An instance of the System.Web.Security.MembershipCreateUserException class is thrown when a erload:System.Web.Security.Membership.CreateUser operation fails.
If you are not familiar with the membership features of ASP.NET, see Introduction to Membership before continuing. For a list of other topics related to membership, see Managing Users By Using Membership.
The MembershipCreateUserException.StatusCode property indicates the reason for the exception so you can handle it appropriately.