Connect with Expertise | Find Experts, Get Answers, Share Insights

Have edited web.config but previously existing users now can't login?

 
Join Date: Feb 2010
Posts: 1
#1: Feb 4 '10
Hi,

Have done some research on this forum I have worked out how to change the membership configuration settings in web.config to adjust the required password length and minimum number of non_alpha numeric characters.
Expand|Select|Wrap|Line Numbers
  1. <membership>
  2.       <providers>
  3.         <clear/>
  4.         <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="4"/>
  5.       </providers>
  6.     </membership>
This works perfectly when I create a new user and they can login fine. The problem I've got is all the users that were created before I edited web.config are no longer able to login? Any help would be much appreciated. Thanks.

jhardman's Avatar
E
M
C
 
Join Date: Jan 2007
Location: logan, utah
Posts: 2,967
#2: Feb 8 '10

re: Have edited web.config but previously existing users now can't login?


I think we'll need to move this to IIS, it has nothing to do with classic ASP as far as I can tell.

Jared
Reply