Hi, I don't know why your Developer would leave without leaving documentation of things such as the admin password, the source code e.t.c. I believe such thing happen in the real world when the Developer is insecure, trying to protect himself, or if the developer hasn't been treated well by your Organisation (examples of which include owed salaries/benefits).
Well I am not helping you if the later is the case but I am going to assume it isn't. Steps to solution SCENARIO A 1) As Russell mentioned, you will need to look for the code behind of btnLogin_Click method. 2) You will need simulating the problem by adding a break point in that method, then stepping through the code whilst attempting to log in using an existing username and password. 3) When an exception or error occurs, take note of the message. That will lead you to fixing the problem. You can post the error message here if you don't know that to do. SCENARIO B 1) If the source code is not available, and the code behind is not published, you will need to reverse-engineer the source code using tools such as the now commercial .NET Reflector or a free open source alternative such as ILSpy. NOTE: ILSpy is still in its infancy but is better than nothing. 2) Using the tools above, you can recover the source code of your web application from the dlls in the bin folder of the web app. 3) You can then go back and follow the steps in scenario A Thank you very much. Chike --- On Mon, 6/6/11, JumboShrimps <[email protected]> wrote: From: JumboShrimps <[email protected]> Subject: [DotNetDevelopment] login.aspx failure To: [email protected] Date: Monday, June 6, 2011, 3:30 PM Below is our Web Portal login.aspx script.. The .net developer quit last year. I am a SAS programmer. I have no idea what this script does, except it doesn't work. No error message at login, except "Password or user name incorrect". DBA sez servers are up and running, and in fact I have run simple queries in VS2005 confirming this. No users can logon, don't know what the admin password is - left with developer. What steps do I need to perform to troubleshoot? As in: Step 1. Step 2. Step 3. etc. Code: <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Login Page</title> <link href="css/Login.css" rel="stylesheet" type="text/css" /> </head> <body> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server" /> <asp:UpdatePanel ID="upLogin" runat="server"> <ContentTemplate> <div id="loginBorder"> <span class="loginBox"> <table border="0" cellpadding="0" cellspacing="2"> <tr> <td> <span class="lbl">Username:</span></td> <td> <span class="fld"> <asp:TextBox ID="txUserName" runat="server"> </asp:TextBox></span></td> </tr> <tr> <td> <span class="lbl">Password:</span></td> <td> <span class="fld"> <asp:TextBox ID="txPassword" runat="server" TextMode="Password"></asp:TextBox></span></td> </tr> <tr> <td colspan="2"> <asp:Label ID="lblError" runat="server" CssClass="redlbl" Text="Username or Password Incorrect" Visible="False"></asp:Label></td> </tr> <tr> <td colspan="2" align="center"> <asp:Button ID="btnLogin" runat="server" Text="Login" CssClass="btn" OnClick="btnLogin_Click" /> <asp:Button ID="btnGuest" runat="server" Text="Guest" CssClass="btn" OnClick="btnGuest_Click" /> </td> </tr> </table> </span> <br /> <div id="loginAdditional"> <asp:LinkButton ID="lnkForgotPass" runat="server">Forgot Password?</asp:LinkButton> <br /> <asp:LinkButton ID="lnkForgotUser" runat="server">Forgot Username?</asp:LinkButton> <br /> <asp:LinkButton ID="lnkHelp" runat="server">Help</asp:LinkButton> </div> </div> </ContentTemplate> </asp:UpdatePanel> <div id="Copyright"> ©2008 Microsoft </div> </form> </body> </html> -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
