(Issue) CreateUser in Web Site Administration Tool

(Issue) CreateUser in Web Site Administration Tool

Postby 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

Postby 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!
dooh
 
Posts: 30
Joined: Sun 14 Jan 2007 21:11

Postby Alexey » Mon 15 Jan 2007 07:50

Well done.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby dooh » Mon 15 Jan 2007 08:35

Well done?

This wil be fixed?
dooh
 
Posts: 30
Joined: Sun 14 Jan 2007 21:11

Postby 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.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby dooh » Mon 15 Jan 2007 18:41

Alexey

I have configurated:
_______________________________________
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
requiresUniqueEmail="false" minRequiredNonalphanumericCharacters="0"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="5"
passwordAttemptWindow="10"/>


And still getting the problem.
dooh
 
Posts: 30
Joined: Sun 14 Jan 2007 21:11

Postby 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?
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby 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.
dooh
 
Posts: 30
Joined: Sun 14 Jan 2007 21:11

Postby Alexey » Wed 17 Jan 2007 12:16

Please provide me with your website project and your web tables definitions.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Membership Provider

Postby 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.
ranbla
 
Posts: 3
Joined: Tue 28 Mar 2006 16:26

Postby Alexey » Thu 25 Jan 2007 15:01

Please check the spelling: minRequiredPasswordLength, minRequiredNonalphanumericCharacters, passwordStrengthRegularExpression.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby 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! :)
ranbla
 
Posts: 3
Joined: Tue 28 Mar 2006 16:26

Postby dooh » Mon 29 Jan 2007 17:39

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

Postby 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.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for MySQL