Membership.ValidateUser always false

Hi,

I would like to check of a username and password is correct...

Dim returnValue As Boolean
returnValue = Membership.ValidateUser(Me.Username.Text.ToString,
Me.Password1.Text.ToString)

.... Before adding them as user ....

Membership.CreateUser(Me.Username.Text.ToString, Me.Password1.Text.ToString,
Me.Mail.Text.ToString)

.... But ir returns always "false"

Does anyone have a solution ... ?



Thanx
John Devlon [ Do, 17 April 2008 20:07 ] [ ID #1944389 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » Membership.ValidateUser always false

Vorheriges Thema: Database Design: Is this Even Practical?
Nächstes Thema: Difficulty publishing ASP.NET site