Home All Groups Group Topic Archive Search About

createuserwizard refuese to add users due to password

Author
27 Apr 2005 3:42 AM
Boyan
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?

Author
27 Apr 2005 1:04 PM
Brock Allen
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?
>
Author
28 Apr 2005 1:56 AM
Boyan
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?
> >
>
>
>
>
Author
27 Apr 2005 6:41 PM
Steve C. Orr [MVP, MCSD]
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


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?
Author
28 Apr 2005 1:54 AM
Boyan
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?
>
>
>
Author
12 Nov 2005 4:32 AM
Jeff
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?
> >
> >
> >