How To Gain Host Access in DNN 3
Nov.28, 2006 in
programming, Technology
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
- First register as a new user.
- Then look in the database in the aspnet_users table in the DNN database.
- Find the user you just created and note the UserID field which is a string of numbers and letters.
- Also find this same string for the host account.
- 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.
- Now you can log in as host using the password created in your new user account we created in step one.
Technorati Tags: DNN3, DNN, Microsoft, membership, provider, membership provider, access, log, locked, host, account, DotNetNuke
Leave a Reply
You must be logged in to post a comment.