Posted on: 11/27/2013 3:16:05 AM | Views : 682

I inherited a project with a literal that displays an error message but I can't find where the text of the error message comes from ("Your login attempt was not successful. Please try again.").  I've searched the whole project for even pieces of the message, and neither can I find any such phrase in the database tables. The code follows. Any ideas on where it might come in from? Could this be an inbuilt part of the .Net login system? If so, can it be changed?
<asp:Literal ID="FailureText" EnableViewState="False" runat="server" /><br /> <asp:Button ID="LoginButton" CssClass="loginButton" CommandName="Login" Text="Log In" runat="server" /> private void uxLogin_Authenticate(object sender, AuthenticateEventArgs e) { try { string userName = uxLogin.UserName; if (userName.Contains("@") && !Classes.LA_Membe ...

Go to the complete details ...