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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Database Corruption destroying User LoginDatabase Corruption destroying User Login
Previous
 
Next
New Post
1/23/2006 9:58 AM
 

Hello,

I am in the process of deploying a DNN site with custom modules for the client. We have had a corruption issue with the DNN sql database. Twice now we have lost the ability for users to login. In each case we have had to reinstall. Why does this happen? How can I fix it?

 

Thank You

 

 

 
New Post
1/23/2006 4:44 PM
 

Can you elaborate on your "database corruption"?  This seems like a much larger problem for you...

In DotNetNuke, passwords are encrypted according to key values which are stored in the web.config file, eg.

    <add key="MachineValidationKey" value="ED67EC2A7332EEB98D59927F5B6E480E700268B7" />
    <add key="MachineDecryptionKey" value="BA219B2EFA53B3F4012F342283FC7EADDF2DD818468B596B" />

If these values are not present in your web.config file, DNN will generate a new set for you automatically.  This is to prevent new installs from using the same default key which would seriously comprise the intergrity of the application for most people.  It is important to ensure that you keep a copy of these keys safe so that you can ensure that they are reapplied if you upgrade your site.  The default release.config file does not have values in it ( as previously indicated ), so if you overwrite your web.config with a new one ( rather than merging changes, or forgetting to copy over your keys )... the result will be a site that nobody can login to beccause of the key change.  NEW users will be unaffected since they are working normally with the new keys... but then the problem will be more difficult because you have users with information encrypted with different keys... not so good.  The general solution to a problem like that is to roll back to your original keys and reset everyone's password who registered after the key change.  That can be done by copying over a known password / password salt combination.

Cheers


Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
New Post
1/23/2006 9:31 PM
 

Thanks that explains alot. One of our guys did do a new install on the server over top an existing nuke install.

 

Thanks

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Database Corruption destroying User LoginDatabase Corruption destroying User Login


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