Solved

CreateUserWizard: Please enter a different security question

Posted on 2010-09-23
4
437 Views
Last Modified: 2012-05-10
No matter what I select for the security question I continue to get the following Exception - "Please enter a different security question."  Is this a web.config issue or a Wizard issue?  Where should I start to look, in resolving this problem?
0
Comment
Question by:Robert Treadwell
  • 2
  • 2
4 Comments
 
LVL 41

Expert Comment

by:guru_sami
Comment Utility
Are you passing commas "," in your question?
Usually that's what I can think might be giving an error.
Or can you share your web.config membership setting?
0
 

Author Comment

by:Robert Treadwell
Comment Utility
No I do not have any commas, in any of my questions.

Per your request, here is my Membership section of web.config.
<membership defaultProvider="SqlProvider" userIsOnlineTimeWindow="15">

			<providers>

				<remove name="AspNetSqlProvider"/>

				<add name="SqlProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="rmeaspnetdbConnectionString" applicationName="/" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" requiresUniqueEmail="true" maxInvalidPasswordAttempts="5" passwordFormat="Hashed"/>

			</providers>

		</membership>

Open in new window

0
 
LVL 41

Expert Comment

by:guru_sami
Comment Utility
web.config looks fine. One more question...are you doing something custom when using CreateUserWizard?
0
 

Accepted Solution

by:
Robert Treadwell earned 0 total points
Comment Utility
In my form I was capturing Security Question using a DropDownList and Hiding Textbox 'Question'.  Added in code behind the selection from DDL field to textbox.
            Dim SecurityQuestionTB As DropDownList = CType(CreateUserWizardStep2.ContentTemplateContainer.FindControl("QuestionDDL"), DropDownList)

            Dim QuestionTB As TextBox = CType(CreateUserWizardStep2.ContentTemplateContainer.FindControl("Question"), TextBox)

            QuestionTB.Text = SecurityQuestionTB.Text

Open in new window

0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now