Solved

CreateUserWizard: Please enter a different security question

Posted on 2010-09-23
4
444 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 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