Today I forget a password I had set on a website in the past and I could no longer log in to my DNN version 3 website as host anymore. Since passwords are not stored in clear text and there is not a way to reset the host password in DNN 3, I had to come up with my own method to reset the password. Here is how to do it:

Things that this method depends on:

  • this depends on having the site enabled to allow user registrations
  • also requires you to have dbo access to the database where DNN is installed to
  1. First register as a new user.
  2. Then look in the database in the aspnet_users table in the DNN database.
  3. Find the user you just created and note the UserID field which is a string of numbers and letters.
  4. Also find this same string for the host account.
  5. Then in the aspnet_Membership table copy the Password and PasswordSalt fields from the new user you created over the existing hash values for the host account.
  6. Now you can log in as host using the password created in your new user account we created in step one.

Technorati Tags: , , , , , , , , , , ,