开发者

CreateUserWizard control problem (password issue)?

开发者 https://www.devze.com 2023-03-07 14:23 出处:网络
Every password that i enter and when开发者_JAVA百科 i click the button, it tells me that the password is wrong. it activates this field in its properties: InvalidPasswordErrorMessage.

Every password that i enter and when开发者_JAVA百科 i click the button, it tells me that the password is wrong. it activates this field in its properties: InvalidPasswordErrorMessage.

I suspect that the user tries to use the password to connect to the database.

Another weird thing, is even when a password fails to be created..(invalid), the control stores the record in the database... for example in the PasswordFailed in the members table, i get a date and the users details (The control did it in a few occassions, which is bad for login)..

The main issue however, is with the password always being invalid..


In the membership configuration you will find attributes for setting minimum number of non alpanumeric characters, min length etc. Try lowering all such values and see if it accepts your passwords. A complex password like "abc%12U8" should also be accepted.

But the error message also displays upon db connection errors so you should test the connection to the database.

also the db identity should be a member of all the "aspnet_.*" roles on the database.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号