?
Solved

How to disable security question and answer in the CreateUserWizard control?

Posted on 2006-05-17
1
Medium Priority
?
919 Views
Last Modified: 2012-08-14
has something to do with config i remeber
0
Comment
Question by:joshuadavidlee
1 Comment
 
LVL 11

Accepted Solution

by:
TornadoV earned 2000 total points
ID: 16705542
Step 1.

right-click on CreateUserWizard control and select 'Customize Create User Step'

Step 2.

remove Sequrity Question/Answer labels, textboxes and required field validators

Step 3.

Add the following section to your web.config if you want to implement this functionality for your app only or if you want modify machine.config and set requiresQuestionAndAnswer="false" right there, but keep in mind that this is a GLOBAL setting.

<membership>
      <providers>
        <remove name="AspNetSqlMembershipProvider"></remove>
        <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"
          passwordFormat="Hashed"
          maxInvalidPasswordAttempts="5"
          minRequiredPasswordLength="7"
          minRequiredNonalphanumericCharacters="1"
          passwordAttemptWindow="10"
          passwordStrengthRegularExpression="" />
      </providers>
    </membership>

0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…
The video provides a quick and easy steps to migrate MBOX file to well known Outlook PST and Office 365. Besides this, it also supports and migrates more than 20 email clients of MBOX which include AppleMail, Opera, Thunderbird and SeaMonkey effortl…
Suggested Courses

588 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question