Entendi! Usando a versão 6.2.2.0 do MySql Connector/Net , Siga esses passos...
- Adicionar referência a MySql.Web.dll
-
Altere seu<membership>
em web.config para isso:
<membership defaultProvider="MySqlMembershipProvider"> <providers> <clear/> <add name="MySqlMembershipProvider" type="MySql.Web.Security.MySQLMembershipProvider, MySql.Web, Version=6.2.2.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" autogenerateschema="true" connectionStringName="NAME_OF_YOUR_CONN_STRING" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" applicationName="/" /> </providers> </membership>
- Executar o projeto | Ferramenta de configuração do ASP.NET e clique na guia Segurança para testar
- Testado em ASP.NET 3.5, MySQL Server versão 5.1, Windows XP de 64 bits