473,387 Members | 1,394 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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




Jun 27 '08 #1
0 1601

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: lanem | last post by:
I am working on a site, and I am using ASP.NET 2.0 and its Membership features to handle security. I need to run a little piece of code when someone logs in. What event of the Login control would...
3
by: ad | last post by:
I have create a custom membership provider. The common usage of custom membership is set it as default Membership Provider win web.config, and use login controls with it. How can I use custom...
1
by: ad | last post by:
I have created a custom Membership Provider, and set it as default membership provider in web.config. I have also set deny users ="?" in web.config. When I use a login control with it, it work...
0
by: David Haynes | last post by:
I am having an issue with using the Membership class in a SOAP WebService running in IIS. I have: 1. set <authentication mode=\"Windows\"/in web.config 2. verified that I can log onto the...
0
by: ignacionachito | last post by:
Problema con Membership.ValidateUser al publicar el sitio en localhost. Cuando publico mi sitio al localhost, Membership.ValidateUser siempre devuelve false, pero mientras lo utilizo bajo el...
0
by: Fendi Baba | last post by:
I need to implement a login system using Asp.net 2.0 login module( membership provider) with password being case insensitive. I wrote a class Accessmembershipprovider.vb and below is my code....
0
by: asnowfall | last post by:
After logging in, I am not able to redirect to the target url; and this happens only when I connect to the website using "http://machine- name:portname"; but not if I connect using either...
0
by: drjack | last post by:
Recently I developed a website using asp.net and SQL Express. The database file is uploaded into App_Data folder. The website is using two membership providers, one is SqlMemership provider with...
0
by: asnowfall | last post by:
I am using 'System.Web.Security.Membership' & 'System.Web.UI.WebControls.Login' control to implement Forms based authentication. Can I call Membership.ValidateUser() from Login.OnAuthenticate()?...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.