Solve the password length in ASP.net 2.0‏

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.

Comments

Popular posts from this blog

How to put java applet in aspx page‏‏

Introduction to Object Oriented Programming Concepts (OOPS) in C#.net