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 ...Require Question/Anser problemsRequire Question/Anser problems
Previous
 
Next
New Post
3/4/2009 2:21 PM
 

Thanks for your suggestions.

I followed your suggestion and stood up a copy of my site for testing.  Upgrading from 4.8.4 to 5.0.1 failed (made several attempts).  So I upgraded to 4.9.1 first, then followed with 5.0.1.  After a few false starts and mis-steps, I completed the upgrade process.

I upgraded and tested everything and my 3rd party modules appear to be working correctly.  However, when I try changing the password on an account, I get the following error:

A critical error has occurred.
Value cannot be null. Parameter name: passwordAnswer.

I know the account in question has a proper question and answer.  So I verified that both the account that I am currently logged in as and the target account to change have questions and answers.  I still get the same error.

Any suggestions?  I guess I will file a probelm/bug report in Gemini.

-Travis

 

 
New Post
3/4/2009 2:26 PM
 

There is also this unresolved usabilty issue that probably won't effect you by the sound of it:
http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=8481



Alex Shirley


 
New Post
3/5/2009 12:18 PM
 

Followup.

I installed a clean copy of v5.01.  Couldn't remember the setting needed for the install.config file to set requirequestionanswer during the install, so I installed without that then immediately modified the setting in web.config.  I added a new account and the question/answer prompts are correctly displayed.  I then authorized the account and logged in to this new account.  I then logged out and then logged in from the admin account and tried to change the password of this newly created account.  I get the same passwordanswer is null error message.

So, apparently, this is not fixed in v5 either.  Should an administrator be able to change a password anytime (given the appropriate audit controls are in place), even when the challenge question/answer mechanism is in place?  Or am I missing something fundamental here?

I did trace thru the code and the problem appears to be in the membership changepassword module.  Not sure, but the code makes a call to the getpassword routine and this "MAY" be where the code chokes.  Haven't located that source code yet to verify.  Wasn't able to trace it down any further than that (yet).  I am reluctant to make any mods to the core code, so I guess I'll try to submit a bug report to Gemini.  Any clue to the turn around time for this type of bug?

 

-Travis

 
New Post
3/5/2009 1:08 PM
 

Hi Travis,

It's been awhile since I've dealt with requiresQuestionAndAnswer, so bear with me here!  I probably should have realized the following sooner :)

In a requiresQuestionAndAnswer="true" environment, no GetPassword or ResetPassword call may be made without supplying the proper passwordAnswer.  This, combined with the fact that administrators are not to be privy to these answers, effectuates that administrators may not retrieve or reset passwords.  The QA functionality is designed to make this a user self-service activity.  I believe that users who forget their answers are out of luck.  This is all ASP.NET membership stuff, and not directly DotNetNuke-related.

That the DNN UI allows you to even attempt either of these two activities is a bug in the UI, but not in the underlying framework.  DNN should not even prompt for either of these in a QA-enabled environment.

Note that it is possible to create a separate "administrator-only" membership provider with requireQA="false" and utilize this out-of-band.  However, this is not supported by the DNN UI (though it is possible that third-party modules might support this scenario).

Hope this helps!

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
3/5/2009 1:10 PM
 

I opened a Gemini bug report : DNN-9487

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Require Question/Anser problemsRequire Question/Anser problems


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