开发者

Sitefinity login failure: "Incorrect Username/Password Combination"

I have a Sitefinity app that just won't let me log in.

I've checked:

  1. Event viewer, no errors.
  2. Sitefinity log files, nothing.
  3. Database - I tried logging in a multitude of times yet 开发者_C百科it's not even locking the account out.
  4. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜