Page 1 of 1
(Issue) CreateUser in Web Site Administration Tool
Posted: Sun 14 Jan 2007 21:16
by dooh
I cant create users. WHY?
An error was encountered. Please return to the previous page and try again.
The following message may help in diagnosing the problem: Exception has been thrown by the target of an invocation. at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at etc...
Part of my web.config:
Posted: Sun 14 Jan 2007 21:55
by dooh
After test all things, i found that if i put a strong password the user create sucessfull.
example:
User: admin
pass: Password1!
Posted: Mon 15 Jan 2007 07:50
by Alexey
Well done.
Posted: Mon 15 Jan 2007 08:35
by dooh
Well done?
This wil be fixed?
Posted: Mon 15 Jan 2007 09:44
by Alexey
After test all things, i found that if i put a strong password the user create sucessfull.
What should be fixed if you are able to create users? To adjust security policy, you should change you web.config file appropriately.
Posted: Mon 15 Jan 2007 18:41
by dooh
Alexey
I have configurated:
_______________________________________
And still getting the problem.
Posted: Tue 16 Jan 2007 07:18
by Alexey
Please provide me (alexeyi at crlab dot com) with your website project.
Are you able to create a user with the same config file without the tool?
Posted: Tue 16 Jan 2007 20:57
by dooh
I can create a new user, but it can only create with a StrongPassword:
like Pass$$Word
if i want to create a new user with the password: "pass1" or "mypass" the page return to me the error that i show you.
Posted: Wed 17 Jan 2007 12:16
by Alexey
Please provide me with your website project and your web tables definitions.
Membership Provider
Posted: Thu 25 Jan 2007 14:16
by ranbla
(Using build 3.55.18.0)
I ran into this same issue. I did a little digging on MSDN and found the following at
http://msdn2.microsoft.com/en-us/library/aa479031.aspx
I tried to set the
MinRequiredPasswordLength,
MinRequiredNonAlphanumericCharacters, and
PasswordStrengthRegularExpression properties in my web.config for AspNetMySqlMembershipProvider, but got back
Parser Error Message: Unrecognized attribute errors for each of the above properties.
Like the original poster, I want to be able to specify exactly what type of passwords are acceptable, but seem to be unable to do so.
Posted: Thu 25 Jan 2007 15:01
by Alexey
Please check the spelling: minRequiredPasswordLength, minRequiredNonalphanumericCharacters, passwordStrengthRegularExpression.
Posted: Mon 29 Jan 2007 14:23
by ranbla
Alexey wrote:Please check the spelling: minRequiredPasswordLength, minRequiredNonalphanumericCharacters, passwordStrengthRegularExpression.
I thought that might be the problem! It's still complaining about the passwordStrengthRegularExpression, but the other two work now. Thanks, Alexey!

Posted: Mon 29 Jan 2007 17:39
by dooh
Thanks alexy
Posted: Tue 30 Jan 2007 11:03
by Alexey
ranbla wrote:It's still complaining about the passwordStrengthRegularExpression
This attribute will be supported in MySQLDirect .NET 4.0.