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 ...Disable Account lockDisable Account lock
Previous
 
Next
New Post
7/1/2008 5:17 AM
 

Hello

My web app is based on DNN 4.0.2 and from time to time a user recieves the following message on the login page:

A critical error has occurred.
Input string was not in a correct format.

After some digging I found out that it happens because the user tried to login a wrong password and caused his account to lock.

It is possible to unlock this user via user accounts page available to the admin, but I could not find how to disable this lock.

Does anybody know how to disable the user lock (I don't mind that he tries a wrong password 100 times), also, does anybody know how to change the above message to a more understandable one (something like: you are locked, contact your admin...)

Thanks

 
New Post
7/1/2008 8:31 AM
 

Can't remember way back to 4.0.2 :-) but in the latest few releases you can find a setting under the host settings called "Auto-Unlock Accounts"  Set the value to 0 to disable the feature.

Paul

 
New Post
7/1/2008 8:56 AM
 

Additionally, you may be able to alter the error message value in the localization files which are accessible in your Admin Menu > Languages page.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
7/2/2008 3:20 AM
 

Thank you for your replies.

However, after some more digging I found out that after a user is updated as locked in the DB (after 3 wrong passwords), the next time he tries to login (in the login page) the code reaches a UserLogin function (of PortalSecurity class) - There it flies and gives the error message above (which is not at all a DNN error message thus not accessible via Admin Menu > Languages page). 
The problem is that this function is in a DNN DLL and thus not accessible to me for debugging

Can you tell me how to access this code in the DLL.

 
New Post
7/2/2008 8:33 AM
 

If you really must, you can change the source code, and then rebuild the DNN assembly.  You can get the source from the downloads page on this site.  Are you sure this requires a code change?


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Disable Account lockDisable Account lock


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