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
Solved

CreateUserWizard: Please enter a different security question

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

856 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