Authentication ... going crazy here.

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

I added a user using Membership and in my SQL 2005 database I see the
user data.

I set PasswordFormat to Clear in my Web.Config so I can see the
password.

I went to my SQL 2005 database and the username is: "miguel" and the
password is "mypass".

Then I did the following:

lResult.Text = Membership.ValidateUser("miguel", "mypass").ToString

I get FALSE!

I tried everything I could think of and I am never authenticated. How
can I find what is going wrong?

Thanks,

Miguel
 
Hello,

I added a user using Membership and in my SQL 2005 database I see the
user data.

I set PasswordFormat to Clear in my Web.Config so I can see the
password.

I went to my SQL 2005 database and the username is: "miguel" and the
password is "mypass".

Then I did the following:

lResult.Text = Membership.ValidateUser("miguel", "mypass").ToString

I get FALSE!

I tried everything I could think of and I am never authenticated. How
can I find what is going wrong?

Thanks,

Miguel

Solved. The user was not approved.

Thanks,
Miguel
 
Back
Top