C# Sitecore 6.6无效操作异常:';记住我';复选框

C# Sitecore 6.6无效操作异常:';记住我';复选框,c#,asp.net,sitecore,sitecore6,C#,Asp.net,Sitecore,Sitecore6,Sitecore 6.6登录失败,无论我是否选中“记住我” 虽然错误详细信息显示了该方法,但我无法调试它,因为它是Sitecore DLL的一部分 Server Error in '/' Application. 'Remember Me' checkbox. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack

Sitecore 6.6登录失败,无论我是否选中“记住我”

虽然错误详细信息显示了该方法,但我无法调试它,因为它是Sitecore DLL的一部分

Server Error in '/' Application.

'Remember Me' checkbox.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.InvalidOperationException: 'Remember Me' checkbox.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 


[InvalidOperationException: 'Remember Me' checkbox.]
   Sitecore.sitecore.login.LoginPage.Login_LoggedIn(Object sender, EventArgs e) +984
   System.Web.UI.WebControls.Login.AttemptLogin() +289
   System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +93
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +84
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929

该错误是由于缺少“记住我”复选框ID所致。请参阅下面Sitecore.Client.dll中的反编译代码

  CheckBox checkBox = this.Login.FindControl("Remember") as CheckBox;
  Assert.IsNotNull((object) checkBox, "'Remember Me' checkbox.");

这就是它崩溃的地方。要解决此问题,请转到登录页面,路径如下:Website\sitecore\login。用文本编辑器打开default.aspx,查看记住复选框ID是否为记住

您确定它是原始Sitecore dll的一部分吗?名称空间
Sitecore.Sitecore.login
首先使用Sitecore大写字母,然后使用Sitecore小写字母,看起来有点可疑。。。这是一个干净的Sitecore实例吗?它在过去是否正常工作,并且在您完成某些操作后停止工作?您是否可以尝试删除cookie并再次尝试登录。您是否修改了登录页面?这是一个现有的旧sitecore应用程序。我不是它初始配置的一部分,所以我不知道它是否被修改过。首先,我没有看到domain.com/sitecore/Login的登录页面或其代码隐藏文件。对于代码隐藏,它可以在sitecore.Client.dlys中找到。是否可以反编译Sitecore.Client.dll,并在名称中查看代码是否与上面的代码相同?是,它匹配您是否已从Bin文件夹中检查Sitecore.Client.dll?