Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Requires Question and Answer featureRequires Question and Answer feature
Previous
 
Next
New Post
1/25/2007 11:00 PM
 
When I enable the "require question and answer" feature in the AspNetSqlMembershipProvider by changing the default web.config entry from  
requiresQuestionAndAnswer="false"
to
requiresQuestionAndAnswer="true"
the password change page does indeed have a new section where a user can enter a question and answer as expected.  However, when a user tries to enter a question, only 20 characters are allowed in the text entry field.  The database has a field of nvarchar(256), so I don't think that is the problem.  It seems that the field itself has been limited to only 20 chars.  A typical question that a user might create might look like "What was the make of your first car?" which is considerably longer than 20 chars.
Is this  known issue or has anyone else reported it?  Or do I have to do something else to make this work?  Thanks in advance for any help you can offer.

Gene W
 
New Post
1/28/2007 11:39 PM
 
Just an update for anyone else who might be trying to use this feature:
The code in the password.ascx code file has a very restrictive width clause in the distributed code (at least the code in the version 4.4.0 package).  I have found that changing the code at line 89 from
 <td><asp:textbox id="txtEditQuestion" runat="server" cssclass="NormalTextBox" size="25" maxlength="20"></asp:textbox></td>
to
<td><asp:textbox id="txtEditQuestion" runat="server" cssclass="NormalTextBox" size="25" maxlength="256"></asp:textbox></td>
fixes this issue.

Gene W
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Requires Question and Answer featureRequires Question and Answer feature


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out