hic hic. I spent an hour to find how to config these problem. Open the machine.config, find the blog <membership> and set the "minRequiredNonalphanumericCharacters" to zero. The program worked, but i cant understand why when set the "minRequiredNonalphanumericCharacters"
to a value, the program does not work. Anyone show me why?
whe you set it to REQUIRE NON ALFPHA NUMBERIC CHARITORS it will require a nonapha numeric charitor such as ! @ # $ % ^ & * (shift 1-9) along with a capitol letter. That is why when you give that a value of other then Zero it will want a charitor like that
Yeah, use a password thats 7 or more in length with at least one non-alphanumeric
If you dont want that much complexity:
- Go into "machine.config" (c:\<Windows>\Microsoft.NET\Framework\<Version>\Config)
- Find the <membership> node
- Copy the whole node into your app's "web.config"
- Adjust as necessary (settings for length and complexity)
I have the same problem, the password I have selected is "jiptravel1", it is 7 charachters, but the system does not accpet it and it displays the same error...
"jiptravel1" it's not a valed password
yah it's more than 7 charachters but it's still need a Non-alphanumeric like
Now this is weird, I did exactly what you told to do... now I get this error when logging in as administrator:
Configuration Error
Description:
An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: The entry 'AspNetSqlMembershipProvider' has already been added.
Source Error:
Line 10: <membership>
Line 11: <providers>
Line 12: <add name="AspNetSqlMembershipProvider"
Line 13: type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Line 14: connectionStringName="LocalSqlServer"
Source File: C:\Documents and Settings\Kresten.K\Mijn documenten\Visual Studio 2005\WebSites\WebSite1\web.config Line:
12
Hi everyone,
I am new to programming in ASP. I pasted the code in web.config and it didn't work, I went to Windows\...\Version 2. ...\machine.config and changed the value of minRequiredNonalphanumericCharacters to "0" and it worked. Just wondering if there is another way.
Because then does this mean, that this property will be the same for all applications I create?
If you had changed it in machine.config, yes. But web.config only affects the application from its location down so no, you're ok there.
Additional info about that edit. If you have created web users then the <membership> node will already exists web.config. You are not <i>adding</i> the machine.config's membership node, you are replacing or merging it.
The AspNetSqlMembershipProvider error can be fixed by clearing the entry but that's kind of unnecessary overhead. For instance I had this code in my web.config.
The machine.config pasted code assumes that LocalSqlServer connectionstring is defined:
<add
name="LocalSqlServer"
connectionString="Data Source=myserver;Initial Catalog=mydatabase;UID=ASPNET;Integrated Security=true"
providerName="System.Data.SqlClient"/>
...
The machine.config pasted code assumes you will delete the defaultProvider or change the machine.config reference to the name you are using:
<membership
defaultProvider="AspNetSqlMembershipProvider"/>
I have the same problem, the password I have selected is "jiptravel1", it is 7 charachters, but the system does not accpet it and it displays the same error...
Just wanted to point out that the password listed above does NOT have any non-alphanumeric characters in it. That is why it was failing the validation test.
Thanks man, I sat there for about 10 minutes... its really confusing, should have had an example. I just read non-alphanumeric as needs a number as its a common way to make your password stronger, but they actually want some punctuation! I put an ! on the
end and it works great.
zimone
Member
10 Points
2 Posts
Re: Can't create user (Password length minimum: 7. Non-alphanumeric characters required: 1. )
Dec 23, 2005 01:51 PM|LINK
hic hic. I spent an hour to find how to config these problem. Open the machine.config, find the blog <membership> and set the "minRequiredNonalphanumericCharacters" to zero. The program worked, but i cant understand why when set the "minRequiredNonalphanumericCharacters" to a value, the program does not work. Anyone show me why?
Thanks.
smcgroarty
Member
180 Points
36 Posts
Re: Can't create user (Password length minimum: 7. Non-alphanumeric characters required: 1. )
Dec 23, 2005 11:20 PM|LINK
whe you set it to REQUIRE NON ALFPHA NUMBERIC CHARITORS it will require a nonapha numeric charitor such as ! @ # $ % ^ & * (shift 1-9) along with a capitol letter. That is why when you give that a value of other then Zero it will want a charitor like that
zero equals off.
http://velcrohurts.com
jmparatte
Member
5 Points
1 Post
Re: Can't create user (Password length minimum: 7. Non-alphanumeric characters required: 1. )
Jan 06, 2006 08:06 PM|LINK
Micro_bat
Member
55 Points
11 Posts
Re: Can't create user (Password length minimum: 7. Non-alphanumeric characters required: 1. )
Jan 17, 2006 06:09 PM|LINK
"jiptravel1" it's not a valed password
yah it's more than 7 charachters but it's still need a Non-alphanumeric like
( ) ` ~ ! @ # $ % ^ & * - + = | \ { } [ ] : ; " ' < > , . ? /
and u can read more abot that in this page
http://www.netscum.dk/smallbusiness/support/articles/select_sec_passwords.mspx#EEAA
Zolex
Member
110 Points
23 Posts
Re: Can't create user (Password length minimum: 7. Non-alphanumeric characters required: 1. )
Jan 22, 2006 06:09 PM|LINK
Now this is weird, I did exactly what you told to do... now I get this error when logging in as administrator:
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: The entry 'AspNetSqlMembershipProvider' has already been added.
Source Error:
Source File: C:\Documents and Settings\Kresten.K\Mijn documenten\Visual Studio 2005\WebSites\WebSite1\web.config Line: 12
whighfield
Star
11721 Points
1859 Posts
Re: Can't create user (Password length minimum: 7. Non-alphanumeric characters required: 1. )
Jan 22, 2006 11:53 PM|LINK
Add the tag <clear/> just after the <providers> tag or use the remove tag <remove name="AspNetSqlMembershipProvider" />
This is happening because the AspNetSqlMembershipProvider is already defined in the machine.config which is being loaded.
- Will
Blog | I need more space:DropBox Referral
Zolex
Member
110 Points
23 Posts
Re: Can't create user (Password length minimum: 7. Non-alphanumeric characters required: 1. )
Jan 23, 2006 08:14 PM|LINK
ASP_Newbie
Member
395 Points
79 Posts
Re: Can't create user (Password length minimum: 7. Non-alphanumeric characters required: 1. )
Feb 01, 2006 05:56 PM|LINK
Hi everyone,
I am new to programming in ASP. I pasted the code in web.config and it didn't work, I went to Windows\...\Version 2. ...\machine.config and changed the value of minRequiredNonalphanumericCharacters to "0" and it worked. Just wondering if there is another way. Because then does this mean, that this property will be the same for all applications I create?
Thanks for the answer.
CarolineBoga...
Member
40 Points
10 Posts
Re: Can't create user (Password length minimum: 7. Non-alphanumeric characters required: 1. )
Apr 27, 2006 04:08 AM|LINK
If you had changed it in machine.config, yes. But web.config only affects the application from its location down so no, you're ok there.
Additional info about that edit. If you have created web users then the <membership> node will already exists web.config. You are not <i>adding</i> the machine.config's membership node, you are replacing or merging it.
The AspNetSqlMembershipProvider error can be fixed by clearing the entry but that's kind of unnecessary overhead. For instance I had this code in my web.config.
The machine.config pasted code assumes that LocalSqlServer connectionstring is defined:
<add name="LocalSqlServer" connectionString="Data Source=myserver;Initial Catalog=mydatabase;UID=ASPNET;Integrated Security=true" providerName="System.Data.SqlClient"/>
...
The machine.config pasted code assumes you will delete the defaultProvider or change the machine.config reference to the name you are using:
<membership defaultProvider="AspNetSqlMembershipProvider"/>
machine.config paste:
<
membership><providers>
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="LocalSqlServer"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
applicationName="/"
requiresUniqueEmail="false"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="5"
minRequiredPasswordLength="7"
minRequiredNonalphanumericCharacters="1"
passwordAttemptWindow="10"
passwordStrengthRegularExpression="" />
</providers>
</membership>
rtpHarry
All-Star
56620 Points
8958 Posts
Re: Can't create user (Password length minimum: 7. Non-alphanumeric characters required: 1. )
Oct 01, 2006 12:53 PM|LINK
[quote user="jsutterfield"][quote user="rfurdzik"]Hi,
I have the same problem, the password I have selected is "jiptravel1", it is 7 charachters, but the system does not accpet it and it displays the same error...
Just wanted to point out that the password listed above does NOT have any non-alphanumeric characters in it. That is why it was failing the validation test.
Thanks man, I sat there for about 10 minutes... its really confusing, should have had an example. I just read non-alphanumeric as needs a number as its a common way to make your password stronger, but they actually want some punctuation! I put an ! on the end and it works great.