plz help me...i am getting an error in when im running my project.
<error>
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'ZENITH\Admin'.
Source Error:
Line 29:
Line 30: con = new SqlConnection(System.Configuration.ConfigurationSettings.AppSettings["constr"]);
Line 31: con.Open();
Line 32: cmd = new SqlCommand("Select * from puser_registration where uid='" + txtuser.Text + "' and password='" + txtpass.Text + "'", con);
Line 33: //con.Open();
Source File: c:\Users\Admin\Desktop\project5 sem\property\login.aspx.cs Line: 31
<error>
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'ZENITH\Admin'.
Source Error:
Line 29:
Line 30: con = new SqlConnection(System.Configuration.ConfigurationSettings.AppSettings["constr"]);
Line 31: con.Open();
Line 32: cmd = new SqlCommand("Select * from puser_registration where uid='" + txtuser.Text + "' and password='" + txtpass.Text + "'", con);
Line 33: //con.Open();
Source File: c:\Users\Admin\Desktop\project5 sem\property\login.aspx.cs Line: 31