This project is read-only.

adding new user does not work (security question is not included in "add new user form")


When trying to add new user, it doeqs not work asking for securty question, how to bypass this problem?


RMoore wrote Aug 27, 2007 at 3:21 PM

You have to make sure that the "requireQuestionAndAnswer" option in the Membership Provider area of the site's "web.config" file is set to "false".

Example:<membership defaultProvider="AspNetSqlMembershipProvider"> <providers> <remove name="AspNetSqlMembershipProvider" /> <addconnectionStringName="AspNetSqlProvider"passwordAttemptWindow="10"enablePasswordRetrieval="false"enablePasswordReset="true"requiresQuestionAndAnswer="false"applicationName="/"requiresUniqueEmail="false"passwordFormat="Hashed"description="Stores and retrieves membership data from the Microsoft SQL Server database" name="AspNetSqlMembershipProvider"type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> </providers></membership>

If this setting is "true" then you will receive this error when trying to create a new user.

rahimi_n wrote Oct 9, 2010 at 3:29 PM

but in my case it was disapear and after I set it to "true" , it worked !

wrote Feb 14, 2013 at 2:10 AM