If you are using default XML provider:
- Get to your website (usually by FTP to your web server).
- Open /app_data/users.xml in the text editor, for example notepad.
-
Remove password from your admin account, meaning:
change from:
<UserName>Admin</UserName> <Password>long-encrypted-key-here</Password>
to:
<UserName>Admin</UserName> <Password></Password>
If you are using SQL then instead of XML file update DB table:
UPDATE be_Users SET Password = '' WHERE UserName = 'admin'
-
Restart web site, easiest way is to open web.config and add a space to the comment and save it. Comments are:
<!-- anywhere between tags like these -->
- Now you should be able to log in as admin/admin.
If you don't have Admin account in the users.xml file, add new user tag like so:
<User>
<UserName>Admin</UserName>
<Password></Password>
<Email>post@example.com</Email>
<LastLoginTime>2007-12-05 20:46:40</LastLoginTime>
</User>
Once logged in as admin, you can delete and create again any user account from admin panel.