Posted on: 5/27/2013 12:15:45 PM | Views : 281

I have this line of code that takes some information from a form and put some in a database and use others to create user in the membership database
whenever the sign up button it shows me that the operation is timed out but if I removed the lines that uses the sqlcommand and connection it creates the membership user fine
MembershipCreateStatus reg; Membership.CreateUser (txtusername.Text,textpass.Text, txtemail.Text, txtsecurityq.Text,txtsecurityq.Text, true, out reg); int rows; SqlConnection con = new SqlConnection("Data Source=localhost;Initial Catalog=EAS_Mod;Integrated Security=True"); con.Open(); SqlCommand cmd = new SqlCommand("RegisterUser", con); cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.AddWithValue("@fname",txtfname.Text); cmd.Parameters.AddWithValue("@lname",txtlastname.Text); cmd.Parameters.A ...

Go to the complete details ...