lost password

Topics: ASP.NET 2.0
Mar 20, 2009 at 4:12 AM
My client lost the password of the blog how to retrieve it. I have the file users.xml but I got the FTP password is encrypted.
Mar 20, 2009 at 4:16 AM
The passwords in the users.xml file are hashed.  If you clear out the password value, so it becomes:


Then restart the blog (uploading the web.config over itself would restart the blog).  You should then be able to log into the blog using the default "admin" password.
Mar 20, 2009 at 4:29 AM
don't work. i clean the users.xml and upload the web.config but not work
Mar 20, 2009 at 5:07 AM
You're not storing any user data in a database, right?  If user data is being stored in a DB, check the be_Users table.

It works for me, by the way.  I cleared out the <password> value for my Admin account.  After clearing it out, the users.xml file looks like:

    <LastLoginTime>2007-12-05 20:46:40</LastLoginTime>

I then made a small change to the web.config file (added a space), and I could then log in under Admin for the username and admin for the password.
Mar 20, 2009 at 5:27 AM
work's. thank you!