I am trying to create a login in page for a asp.net site. I created my own login page and am trying to validate the user by using the following code:
If Membership.ValidateUser(Me.TextEditor1.Text, Me.TextEditor2.Text) = True Then
Me.Login_Message.Text = "Login ok"
Me.Login_Message.Text = "Not good"
Me.TextEditor1.Text is the username and Me.TextEditor2.Text is the password
I have one test user account i created using the create user wizard in the database. But when i use the about code to validate the user it tells me the user account is no good. I even drop a login control on the form and it still does not work.
What am i missing?