(Issue) CreateUser in Web Site Administration Tool

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
dooh
Posts: 30
Joined: Sun 14 Jan 2007 21:11

(Issue) CreateUser in Web Site Administration Tool

Post by dooh » Sun 14 Jan 2007 21:16

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:















dooh
Posts: 30
Joined: Sun 14 Jan 2007 21:11

Post by dooh » Sun 14 Jan 2007 21:55

After test all things, i found that if i put a strong password the user create sucessfull.

example:
User: admin
pass: Password1!

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Mon 15 Jan 2007 07:50

Well done.

dooh
Posts: 30
Joined: Sun 14 Jan 2007 21:11

Post by dooh » Mon 15 Jan 2007 08:35

Well done?

This wil be fixed?

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Mon 15 Jan 2007 09:44

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.

dooh
Posts: 30
Joined: Sun 14 Jan 2007 21:11

Post by dooh » Mon 15 Jan 2007 18:41

Alexey

I have configurated:
_______________________________________



And still getting the problem.

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Tue 16 Jan 2007 07:18

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?

dooh
Posts: 30
Joined: Sun 14 Jan 2007 21:11

Post by dooh » Tue 16 Jan 2007 20:57

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.

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Wed 17 Jan 2007 12:16

Please provide me with your website project and your web tables definitions.

ranbla
Posts: 3
Joined: Tue 28 Mar 2006 16:26

Membership Provider

Post by ranbla » Thu 25 Jan 2007 14:16

(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.

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Thu 25 Jan 2007 15:01

Please check the spelling: minRequiredPasswordLength, minRequiredNonalphanumericCharacters, passwordStrengthRegularExpression.

ranbla
Posts: 3
Joined: Tue 28 Mar 2006 16:26

Post by ranbla » Mon 29 Jan 2007 14:23

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! :)

dooh
Posts: 30
Joined: Sun 14 Jan 2007 21:11

Post by dooh » Mon 29 Jan 2007 17:39

Thanks alexy

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Tue 30 Jan 2007 11:03

ranbla wrote:It's still complaining about the passwordStrengthRegularExpression
This attribute will be supported in MySQLDirect .NET 4.0.

Post Reply