I have a Sitefinity app that just won't let me log in.
I've checked:
- Event viewer, no errors.
- Sitefinity log files, nothing.
- Database - I tried logging in a multitude of times yet 开发者_C百科it's not even locking the account out.
- Checked to make sure the
DataConfig
points to the correct database.
What could be another reason for it not letting me log in.
Thanks, Jacques
I had a similar issue, Jacques, and I found that examining the control's properties during the LoginError event showed other errors besides the "Incorrect..." error. Wire up the control's LoginError event and set a breakpoint:
//In Page_Load:
YourControl.LoginError += new EventHandler(YourControl_LoginError);
void YourControl_LoginError(object sender, EventArgs e)
{
//Set a breakpoint here
}
...The Control's .FailureText may say "Incorrect UserName/Password Combination", but if you examine the control's .FailureTextControl.Text, It may have a more specific message.
I hope this gets you started... FWIW, in my case, the problem was that setting the DenyLogonMessageText and Orientation attributes in the markup for the control causes a silent error.
精彩评论