Hi;
Note: I am running this from a winforms app, not ASP.NET. My config is:
private static string memberConfig = "<add
name='AspNetSqlMembershipProvider' " +
"connectionStringName='MembershipSqlServer'
enablePasswordRetrieval='false' " +
"enablePasswordReset='true' requiresQuestionAndAnswer='false'
applicationName='/WindwardPortal' " +
"requiresUniqueEmail='false' passwordFormat='Hashed'
maxInvalidPasswordAttempts='5' " +
"minRequiredPasswordLength='5' minRequiredNonalphanumericCharacters='0'
passwordAttemptWindow='10'/>";
And for a password of "pass1234" it says InvalidPassword
Any ideas?

Signature
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
David Thielen - 28 Nov 2006 01:32 GMT
Never mind - dumb error (was going to web.config rather than to my string).

Signature
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
> Hi;
>
[quoted text clipped - 13 lines]
>
> Any ideas?
Steven Cheng[MSFT] - 28 Nov 2006 07:57 GMT
Hello Dave,
Do you mean the problem here is targeting another error in your web.config
file rather than your winform user creation code and the password you
passed in it, correct? As far as I know, when you use the
SqlMembershipProvider to create the user, it will follow the rules you
defined in the NameValueCollection during the initialize time.
Please feel free to let me know if there is anything else we can help.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
Registered User - 28 Nov 2006 02:10 GMT
>Hi;
>
[quoted text clipped - 13 lines]
>
>Any ideas?
Not really but the memberConfig string assignment suggests you need to
investigate using an app.config file.
regards
A.G.