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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Validate User 2
Is User Authenticated? 3
Forms Authentication 2
web.config question 7
How authenticate user manually? 3
custom authenticate users, how? 5
How to Sign Out in Asp.Net 2.0? 5
Authentication in ASP.NET 3

Back
Top