In my login page there is option for forgot password.
Forgot Password has field userid on change of the textbox of user id i need to check whether the user id is present in table or not.
For this i am using pagemethods.
But when i tried to call the C# method in login.aspx.cs with pagemethods.
i am getting the exception
System.InvalidOperationException-- Authentication failed. Any one had a solution please share.