0

当我单击 CMSDesk 中的工具时,我收到“应用程序中的服务器错误”错误,我能够在 Kentico 7.0 中解决此错误,如此处所述

但是我现在在 7.31 安装中遇到了同样的错误。

事件日志是

Event ID: 77 
Event type: Error 
Event time: 5/2/2013 10:27:08 PM 
Source: Application_Error 
Event code: EXCEPTION 
User ID: 53 
User name: administrator 
IP address: ::1 

Description: Message: Multiple controls with the same ID 'bRecentDocs' were found. FindControl requires that controls have unique IDs. 
Stack Trace: 
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
at CMS.ExtendedControls.ScrollPanel.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean 

includeStagesAfterAsyncPoint)



Site name: new2 
Machine name: RN7 
Event URL: /KenticoCMS7E/CMSModules/MyDesk/mainMenu.aspx 
URL referrer: http://localhost/KenticoCMS7E/CMSModules/MyDesk/Default.aspx 
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31 

我知道问题出在数据库中,因为如果我切换到不同的数据库就没有问题。

[更新] 如果我运行应用程序,崩溃前我可以在调试器中看到的最后一段代码位于 In CMSAdminControls_UI_UniMenu_UniMenu

   /// <summary>
    /// Register scripts
    /// </summary>
    protected override void OnPreRender(EventArgs e)
    {
        ScriptHelper.RegisterJQuery(Page);
        ScriptHelper.RegisterScriptFile(Page, "~/CMSAdminControls/UI/UniMenu/UniMenu.js");

        base.OnPreRender(e);
    }

Kentico 支持确认问题出在数据库中,并正在向我发送修复程序。

4

1 回答 1

1

转到 CMS 站点管理器 -> 开发 -> 模块。编辑“工具”并转到用户界面选项卡。检查所有节点 - 查看它们的代号并检查其中一些是否不等于“RecentDocs”。默认情况下,此节点位于 Documents & Objects 节点下的“My Desk”模块下,因此我不知道为什么工具选项卡会尝试加载它。

于 2013-05-05T19:39:01.703 回答