There is an error in the Membership Provider. On the OdbcCommand it calls for a uniqueidentifier for the PKID field. The field in the table is called UserId and a varchar. This throws an exception. The fieldname in the insert command should be UserId and the type in the cmd.Parameters.AddWithValue should be providerUserKey.ToString and remove the uniqueidentifier.
↧