|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
createuserwizard refuese to add users due to passwordI am using microsoft web developer express beta a to try our the new features
of asp.net 2.0. When working with the the createuserwizard control, I found it always showed a "select a different password" message when I try to add a user. The passwordregularexpression property is empty by default, I also tried to change it to some simple form like [a-z]+, but nothing works. Since the control is a black box, I have no ideas of why it treats the password supplied as invalid. Any one experienced this before? By default they have enabled stronger password validation:
http://msdn.microsoft.com/netframework/downloads/updates/fw20readme.aspx Check out section "3.1.5 ASP.NET Membership Enforces Password Strength Requirements" -Brock DevelopMentor http://staff.develop.com/ballen Show quoteHide quote > I am using microsoft web developer express beta a to try our the new > features of asp.net 2.0. When working with the the createuserwizard > control, I found it always showed a "select a different password" > message when I try to add a user. The passwordregularexpression > property is empty by default, I also tried to change it to some simple > form like [a-z]+, but nothing works. Since the control is a black box, > I have no ideas of why it treats the password supplied as invalid. Any > one experienced this before? > Thank you. This solved my long time puzzle.
Show quoteHide quote "Brock Allen" wrote: > By default they have enabled stronger password validation: > > http://msdn.microsoft.com/netframework/downloads/updates/fw20readme.aspx > > Check out section "3.1.5 ASP.NET Membership Enforces Password Strength Requirements" > > -Brock > DevelopMentor > http://staff.develop.com/ballen > > > > > I am using microsoft web developer express beta a to try our the new > > features of asp.net 2.0. When working with the the createuserwizard > > control, I found it always showed a "select a different password" > > message when I try to add a user. The passwordregularexpression > > property is empty by default, I also tried to change it to some simple > > form like [a-z]+, but nothing works. Since the control is a black box, > > I have no ideas of why it treats the password supplied as invalid. Any > > one experienced this before? > > > > > > If you enter a strong password it will work.
Combine letters, numbers & symbols. Show quoteHide quote "Boyan" <Bo***@discussions.microsoft.com> wrote in message news:D0AD050F-191E-43B6-B1E4-CC3E6E73A730@microsoft.com... >I am using microsoft web developer express beta a to try our the new >features > of asp.net 2.0. When working with the the createuserwizard control, I > found > it always showed a "select a different password" message when I try to add > a > user. The passwordregularexpression property is empty by default, I also > tried to change it to some simple form like [a-z]+, but nothing works. > Since > the control is a black box, I have no ideas of why it treats the password > supplied as invalid. Any one experienced this before? Thanks Steve. That really helped.
Show quoteHide quote "Steve C. Orr [MVP, MCSD]" wrote: > If you enter a strong password it will work. > Combine letters, numbers & symbols. > > -- > I hope this helps, > Steve C. Orr, MCSD, MVP > http://SteveOrr.net > > > "Boyan" <Bo***@discussions.microsoft.com> wrote in message > news:D0AD050F-191E-43B6-B1E4-CC3E6E73A730@microsoft.com... > >I am using microsoft web developer express beta a to try our the new > >features > > of asp.net 2.0. When working with the the createuserwizard control, I > > found > > it always showed a "select a different password" message when I try to add > > a > > user. The passwordregularexpression property is empty by default, I also > > tried to change it to some simple form like [a-z]+, but nothing works. > > Since > > the control is a black box, I have no ideas of why it treats the password > > supplied as invalid. Any one experienced this before? > > > Hello Boyan,
Of course, you could continue to tell your users to enter a password with lots of restrictions... or... Change the way users logon to your app by changing a few config items in the web.config file. <membership defaultProvider="OurMembershipProvider"> <providers> <clear/> <add name="OurMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="OurStoreConnection" applicationName="/" enablePasswordRetrieval="True" enablePasswordReset="True" passwordFormat="Encrypted" requiresQuestionAndAnswer="False" maxInvalidPasswordAttempts="10" minRequiredPasswordLength="1" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" requiresUniqueEmail="false" /> </providers> </membership> Hope this helps! Jeff Show quoteHide quote "Boyan" wrote: > Thanks Steve. That really helped. > > "Steve C. Orr [MVP, MCSD]" wrote: > > > If you enter a strong password it will work. > > Combine letters, numbers & symbols. > > > > -- > > I hope this helps, > > Steve C. Orr, MCSD, MVP > > http://SteveOrr.net > > > > > > "Boyan" <Bo***@discussions.microsoft.com> wrote in message > > news:D0AD050F-191E-43B6-B1E4-CC3E6E73A730@microsoft.com... > > >I am using microsoft web developer express beta a to try our the new > > >features > > > of asp.net 2.0. When working with the the createuserwizard control, I > > > found > > > it always showed a "select a different password" message when I try to add > > > a > > > user. The passwordregularexpression property is empty by default, I also > > > tried to change it to some simple form like [a-z]+, but nothing works. > > > Since > > > the control is a black box, I have no ideas of why it treats the password > > > supplied as invalid. Any one experienced this before? > > > > > >
How to implement a property like ControlToValidate property?
Adding Event Handler to Dynamically added Controls TabStrip/Multipage using UserControl (.ascx) contained within a UserControl(.ascx) Copy Paste label textbox aspx code How do I transfer a value from a Querystring (codebehind) to a JavaScript function? Treeview IE Web Control and Mac Client side dynamic graphing problem Any Descent Gantt Chart ASP.NET Webform Components? Submit Form on Enter Pressed How to use a hidden field with repeater checkboxes? |
|||||||||||||||||||||||