Bug #61732 MEMBERSHIP PROVIDER IN VS2010 ULTIMATE AND ASP4.0
Submitted: 4 Jul 2011 4:18 Modified: 8 Jul 2011 16:35
Reporter: paul meadows Email Updates:
Status: Can't repeat Impact on me:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:6.4.0 OS:Any
Assigned to: Julio Casal CPU Architecture:Any
Tags: asp 4.0, C#, connector, Visual studo 2010

[4 Jul 2011 4:18] paul meadows
Description:
Connector 6.4.0 ....In Visual Studio 2010 ultimate the Passwordretrieve checkbox enabled doesnt work at all in a PASSWORDRECOVERY process  in ASP4.0 and C#. So imao only the change password /reset password is the only option available when a user forgets his/her password in when using MySQLMembershipProvider

Sometimes the webconfiguration tool symbol disappears and after clicking on the solution tab in VS2010 in will reappear.

How to repeat:
make changes with the mysql web configuration tool or just adjust the application web config in vs2010, adjust the parameters. In a c# application do a membership  Psw = mu.GetPassword(Username)and in debugmode in vs2010 the error will showup.

Suggested fix:
Asap or just make a clear notice FOR THE DEVELOPPER in the documentation that changing enablePasswordRetrieval="false" to "True" won't work!
[8 Jul 2011 16:35] Julio Casal
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.mysql.com/how-to-report.php

The bug is not reproducible with the provided steps. The enablePasswordRetrieval="True" attribute is added successfully to Web.config file once enabling the checkbox in the MySQL Website Configuration tool. Also, Membership.Provider.GetPassword(string username, string answer) will correctly return the user password, as long as passwordFormat="Clear".

If you can provide more information, feel free to add it to this bug and change the status back to 'Open'.

Thank you for your interest in MySQL.