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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Encryption broke after site move by DotNetParkEncryption broke after site move by DotNetPark
Previous
 
Next
New Post
7/16/2008 10:29 PM
 

 

For some reason DotNetPark, our ISP recently moved my DNN (4.5) website to a different server.   

In the process of moving our site, they “broke” the password encryption process.  At first, I noticed that I was unable to log in with any user or password. 

The only way to log in was to change web.config's password setting from "encrypted" to "clear"  But that's just a band-aid & we are really kind of stuck here b/c we are only able to use the encrypted versions of the passwords in clear text format.   These are very long & unweildy strings of characters.  

To make matters worse, passwords cannot be changed.  Both the user's "change my password" & the admin's (or host's) change password functions result in an error. 

I did notice that two other keys had been changed in the web.config file: 

machineKey validationKey 

decryptionKey

and the following was added:  <add key="InstallationDate" value="6/30/2008" />

I suspect that someone attempted to reinstall DNN "over" the existing files and the machine keys got crossed. 

Does anyone have any clue about what can be done or where we should start? 

 

 
New Post
7/17/2008 12:28 AM
 

Do you have a backup of the old machinekey and validation keys? If so I would put those back in the web.config file (probably safe to do another backup of the current site first)

 


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
7/18/2008 12:17 AM
 

dude, you're a genius -- that's definitely progress!  I am now able to change passwords for users & users can change their own. 

I'm not sure where to go from here though b/c passwords are still saved in clear text.  I checked the asp_Membership table and I can read my test user's password.  All users are set to "0" in the Passwordformat field.  I tried changing the web.config key "Passwordformat" to "Encrypted", but it doesn't seem to make a difference. 

How can I get back to truly using encrypted passwords?

 
New Post
7/18/2008 12:30 AM
 

got it!  changed passwordformat to "2" for all fields & all seems to be back to normal -- my old passwords work again!  And my test user's password is encrypted in the table. 

Many thanks to Chris!!

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Encryption broke after site move by DotNetParkEncryption broke after site move by DotNetPark


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