472,805 Members | 2,106 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,805 software developers and data experts.

How to remove Security Question and Security Answer from membership provider?

How to remove Security Question and Security Answer from membership provider?
Following is my codes. Please tell me how to remove Question and Answer from membership provider. Thank you for replying.

CreateNewWizard.aspx
[HTML] <asp:CreateUserWizard ID="CreateUserWizard1" runat="server">
<WizardSteps>
<asp:CreateUserWizardStep runat="server">
</asp:CreateUserWizardStep>
<asp:CompleteWizardStep runat="server">
</asp:CompleteWizardStep>
</WizardSteps>
</asp:CreateUserWizard>[/HTML]

Web.config
[HTML] <membership defaultProvider="CustomizedProvider">
<providers>
<add name="CustomizedProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="SqlServerConnectionString"
applicationName="MTSchool"
passwordFormat="Clear"
minRequiredPasswordLength="1"
minRequiredNonalphanumericCharacters="0" />
</providers>
</membership>
<profile enabled="true">
<properties>
<add name="Country" type="string"/>
<add name="Gender" type="string"/>
<add name="Age" type="Int32"/>
<remove name="security question"/>
</properties>
</profile>[/HTML]
Oct 26 '07 #1
4 3013
jhardman
3,406 Expert 2GB
I've moved your post to the .NET forum since it is obvious that you are using ASP.NET and not ASP. However, I am not sure you are making a clear question. Please explain what is happenning and how you want that to change.

Jared
Oct 26 '07 #2
kenobewan
4,871 Expert 4TB
Here is a way you can do it at runtime:
Runtime Web.config / App.config Editing
Oct 27 '07 #3
I've moved your post to the .NET forum since it is obvious that you are using ASP.NET and not ASP. However, I am not sure you are making a clear question. Please explain what is happenning and how you want that to change.

Jared
Thank you very much.
Oct 29 '07 #4
Here is a way you can do it at runtime:
Runtime Web.config / App.config Editing
Thank you very much.
Oct 29 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Terry E Dow | last post by:
Howdy, I am having trouble with the objectCategory=group member.Count attribute. I get one of three counts, a number between 1-999, no member (does not contain member property), or 0. Using...
1
by: Philipp Lenz | last post by:
I'm completely new to ASP.Net 2.0 and I'm baffled about what to do to get this to work. FYI, I'm not new at this, I've used asp.net 1.1 for allmost 4 years now. I'm running a development...
1
by: J.G. | last post by:
I have set up my web application to utilize an ADAM membership provider. Everything is going well, except I do not wish to utilize the built-in PasswordRecovery control (I don't want the randomly...
9
by: Paul Keegstra | last post by:
Hi, I am currently working on an asp.net 2.0 web site that is a replacement of a classic asp web site. The current web site uses a Commerce Server 2002 database for storing user information. ...
1
by: Karl | last post by:
We have an application that uses the new ASP.Net 2.0 membership security, but we are writing the backoffice administration for it in vb.net as an in house product. We would like to be able to...
5
by: Coaster | last post by:
I added security using the asp.net web site configuration tool and now I want to remove it. I tried removing default provider via the asp.net settings but it won't let me. It gives an error stating...
1
by: Cirene | last post by:
I am creating an ASP.NET 2.0 website. Rather than using all the membership functions I wanted to just create my own SQL Server db and use SESSION vars to track if the user is logged in etc... ...
2
by: Nathan Sokalski | last post by:
When I call System.Web.Security.Roles.GetRolesForUser() it returns no results (an array of length 0) even though I have roles associated with the currently logged in user. I am able to get the...
2
by: Ken Fine | last post by:
I want to add the security question and answer security feature to the ChangePassword control. I am aware that this functionality is built into the PasswordRecovery tool. I have implemented the...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.