?
Solved

CreateUserWizard: Please enter a different security question

Posted on 2010-09-23
4
Medium Priority
?
448 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 41

Expert Comment

by:guru_sami
ID: 33746278
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
ID: 33746514
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
ID: 33746743
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
ID: 33789790
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses
Course of the Month11 days, 11 hours left to enroll

752 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