RoleProvider .NET 2 - converted from MS Access to MySQL
问题 I have an old site running on .NET 2 using an AccessMembershipProvide and I'm changing it to MySqlMemebrshipProvider - The membership side works fine, but the roles part seems to not provide the roles methods? If I switch back to the OdbcRoleProvide in the Web.Config it works while still using the MySqlMembershipProvider. I'm calling the roles with: Response.Write(Roles.IsUserInRole(User.Identity.Name, "Admin") & " -role exist- " & Roles.RoleExists("Admin")) this returns false even with