I finally got TT to see my SQL2000 server and run the loging page. I then went to ASP.net configuration and attempted to create a user. No matter what i do I cant create a user - I always get the error on the page "Password length minimum: 7. Non-alphanumeric
characters required: 1." I have admin rights on the test server and changed the Security Policy to a very simple criteria and still it gives me the same error for any attempted user creation. HELP! Does anyone have a clue what is up here??? Like another posting
I attempted to open the code for the login and dang there is nothing there and definatly no settings for security criteria.
This is probably happening because of the MembershipProvider in your web.config. It is requiring you to enter a password like the following. "help!me", notice the (1) non-alphanumberic character.
Yup, it was a Snake. I must have tried 2 dozen combinations AND spent hours digging in the code. Any suggestions on how to change the password criteria?
Thanks again
PS -40 is late to open your eyes but better late than never. [;)]
You should be able to change them in your web.config for your application or change in machine.config in \Windows\Microsoft.Net\Framework\v2.x\Config folder
The following section is copied directly from another starter kit fro your reference.
For example: you change minRequiredNonalphanumericCharacters="0" from minRequiredNonalphanumericCharacters="1", then you don't need the Non alphanumeric Characters any more.
You change other setting within this block as you want.
There was a great thread I found that had a lot of great time tracker fixes including changing the password requirements. See it here: http://forums.asp.net/thread/1128558.aspx
[8o|]Its quite confuse,if you are using that for the first time,but once you got the idea then it is very simple..I also faced the same problem for the first time.
you can type a password like this "visu!al" make sure that one character must be a non alphanumeric.Now its dam easy..m i right..[;)]?
I am having the same problem. I changed all related entries in machine.config and in each one of my web.config files. Changing minRequiredPasswordLength takes effect but even if I set minRequiredNonalphanumericCharacters = 0 it does not have effect on anything.
Application still asks for at least 1 non alpha numeric characters. Any other thing to check?
AVWorkz
Member
10 Points
2 Posts
Password length minimum: 7. Non-alphanumeric characters required: 1.-CANT LOGIN
Apr 16, 2006 10:55 PM|LINK
I finally got TT to see my SQL2000 server and run the loging page. I then went to ASP.net configuration and attempted to create a user. No matter what i do I cant create a user - I always get the error on the page "Password length minimum: 7. Non-alphanumeric characters required: 1." I have admin rights on the test server and changed the Security Policy to a very simple criteria and still it gives me the same error for any attempted user creation. HELP! Does anyone have a clue what is up here??? Like another posting I attempted to open the code for the login and dang there is nothing there and definatly no settings for security criteria.
Thanks for any help
nberardi
Star
11233 Points
2352 Posts
Re: Password length minimum: 7. Non-alphanumeric characters required: 1.-CANT LOGIN
Apr 17, 2006 01:05 AM|LINK
AVWorkz
Member
10 Points
2 Posts
Re: Password length minimum: 7. Non-alphanumeric characters required: 1.-CANT LOGIN
Apr 17, 2006 11:22 PM|LINK
Yup, it was a Snake. I must have tried 2 dozen combinations AND spent hours digging in the code. Any suggestions on how to change the password criteria?
Thanks again
PS -40 is late to open your eyes but better late than never. [;)]
limno
All-Star
117314 Points
7997 Posts
Moderator
MVP
Re: Password length minimum: 7. Non-alphanumeric characters required: 1.-CANT LOGIN
Apr 19, 2006 06:36 PM|LINK
You should be able to change them in your web.config for your application or change in machine.config in \Windows\Microsoft.Net\Framework\v2.x\Config folder
The following section is copied directly from another starter kit fro your reference.
<?xml version="1.0"?>
<connectionStrings>
<add name="LibraryConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Library.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<membership>
<providers>
<clear/>
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" passwordFormat="Hashed" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="3"/>
</providers>
</membership>
</system.web>
</configuration>
For example: you change minRequiredNonalphanumericCharacters="0" from minRequiredNonalphanumericCharacters="1", then you don't need the Non alphanumeric Characters any more.
You change other setting within this block as you want.
Format your SQL query with instant sql formatter:
http://www.dpriver.com/pp/sqlformat.htm
ulrisa
Member
2 Points
4 Posts
Re: Password length minimum: 7. Non-alphanumeric characters required: 1.-CANT LOGIN
Jan 06, 2007 06:10 PM|LINK
I cant access my machine.config in my server :-(.
Is there any way to overide machine.config and do this in web.config?[^o)]
currentspull...
Member
168 Points
78 Posts
Re: Password length minimum: 7. Non-alphanumeric characters required: 1.-CANT LOGIN
Jan 08, 2007 09:39 PM|LINK
There was a great thread I found that had a lot of great time tracker fixes including changing the password requirements. See it here: http://forums.asp.net/thread/1128558.aspx
chetan.sarod...
All-Star
65619 Points
11118 Posts
Re: Password length minimum: 7. Non-alphanumeric characters required: 1.-CANT LOGIN
Apr 25, 2007 03:50 AM|LINK
Set in web.config
<membership>
<providers>
<clear/>
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" passwordFormat="Hashed" minRequiredNonalphanumericCharacters="youvalue" minRequiredPasswordLength="yourvalue"/>
</providers>
</membership>
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
vicky19
Member
2 Points
1 Post
Re: Password length minimum: 7. Non-alphanumeric characters required: 1.-CANT LOGIN
Oct 16, 2007 07:41 AM|LINK
[8o|]Its quite confuse,if you are using that for the first time,but once you got the idea then it is very simple..I also faced the same problem for the first time.
you can type a password like this "visu!al" make sure that one character must be a non alphanumeric.Now its dam easy..m i right..[;)]?
chetan.sarod...
All-Star
65619 Points
11118 Posts
Re: Password length minimum: 7. Non-alphanumeric characters required: 1.-CANT LOGIN
Oct 17, 2007 03:31 AM|LINK
Try to set/change as per your requirment in web.config as follows
<membership>
<providers>
<remove name="AspNetSqlMembershipProvider" />
<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="false"
applicationName="/"
requiresUniqueEmail="false"
minRequiredPasswordLength="6"
minRequiredNonalphanumericCharacters="0"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="5"
passwordAttemptWindow="10"
passwordStrengthRegularExpression="" />
</providers>
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
gunalmel
Member
24 Points
22 Posts
Re: Password length minimum: 7. Non-alphanumeric characters required: 1.-CANT LOGIN
Nov 13, 2007 09:42 PM|LINK
I am having the same problem. I changed all related entries in machine.config and in each one of my web.config files. Changing minRequiredPasswordLength takes effect but even if I set minRequiredNonalphanumericCharacters = 0 it does not have effect on anything. Application still asks for at least 1 non alpha numeric characters. Any other thing to check?