I am trying to enable the reset password functionality for my site without using the response / response functions (this is disabled in the entry membershipin web.config).
However, when calling resetPassword (using an automatically created controller / service / provider from the .NET MVC environment), an error occurs (the input string was not in the correct format).
Function ResetPassword(ByVal userName As String, ByVal answer As String) As Boolean Implements IMembershipService.ResetPassword
Return _provider.ResetPassword(userName, "answer")
End Function
It doesn’t matter if I transmit Nothingor "answer"(as shown) hard-programmed in the process (both registration and higher), the error is still thrown and the password is not reset.
Any thoughts ??
source
share