Connecting Tech Pros Worldwide Forums | Help | Site Map

ASP.NET - Authentication: Problem in CreateUserWizard control

Newbie
 
Join Date: Oct 2007
Location: surat,gujarat,india
Posts: 2
#1: Nov 21 '07
Hello everybody.
I am using CreateUserWizard control in asp.net for creating new user. There is an inbuilt validation for password that 'there must be a non-numeric value and password must be of atleast 7 characters.'
I do not want these kind of validations. So what should I do for removing these inbuilt validations? I have tried a lot in properties but I am not getting it.Please reply soon folks. If possible then also mail me on *PURGED*
Thanks in advance.

Shashi Sadasivan's Avatar
Moderator
 
Join Date: Aug 2007
Location: Brisbane, Australia
Posts: 1,414
#2: Nov 21 '07

re: ASP.NET - Authentication: Problem in CreateUserWizard control


hi vishwas1001
Welcome to TSDN
Please follow the Posting guidelines as mentioned in the FAQ

Your email id has been removed as it is not appropriate to do so in the forums.
We would like replies being sent to this post itself so that others can also benefit from your query, and your email is safe from spammers
Newbie
 
Join Date: Oct 2007
Location: surat,gujarat,india
Posts: 2
#3: Nov 21 '07

re: ASP.NET - Authentication: Problem in CreateUserWizard control


ya that's fine.
just reply me over here.
i was unaware of that rule.
will take care next time
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,123
#4: Nov 21 '07

re: ASP.NET - Authentication: Problem in CreateUserWizard control


Quote:

Originally Posted by vishwas1001

Hello everybody.
I am using CreateUserWizard control in asp.net for creating new user. There is an inbuilt validation for password that 'there must be a non-numeric value and password must be of atleast 7 characters.'
I do not want these kind of validations. So what should I do for removing these inbuilt validations? I have tried a lot in properties but I am not getting it.Please reply soon folks. If possible then also mail me on *PURGED*
Thanks in advance.

I haven't actually tried to do what you are doing but let me explain:

Your CreateUserWizard control has a provider that it uses to create the user's account. This provider has validation rules that it enforces on password strength. If you are using the default membership database and provider setup that now comes with Visual Studio, I think you're stuck with these default settings.

If you want to change this value I would think that you'd have to somehow edit the provider that you're using.

I could be wrong here as I've never used the built in providers...but I know that I was able to change this restriction when developing my own custom providers.

-Frinny
Reply