Monday, January 18, 2010

ASPDNSF Cannot Login to Admin

Problem:
Cannot login to admin.  Always prompts to change password not matter what password is entered.
Solution:
UPDATE [Customer]
     SET [Password] = 'your new password here',
           [SaltKey] = -1,
           [LockedUntil] = DateAdd(d, -1, GetDate()),
           [BadLoginCount] = 0,
           [PwdChangeRequired] = 0,
           [PwdChanged] = GetDate()
     WHERE [Email] = 'your admin email address here'
and then touch web.config to recompile website.

No comments:

Post a Comment