Roles.AddUserToRole gives an error " The user 'newUser' is already in role 'Guests' "
Posted on 2007-10-15
When using a standard login control it won't allow me to add a new user, not even "JoeBloggs".
The following is the code:
The following is the error:
An exception of type 'System.Configuration.Provider.ProviderException' occurred in System.Web.dll but was not handled in user code
Additional information: The user 'JoeBloggs' is already in role 'Guests'.