应用程序Kentico 7.31中的服务器错误

时间:2013-05-04 03:14:46

标签: kentico

当我点击CMSDesk中的工具时,我收到“应用程序中的服务器错误”错误 我能够在记录here

的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 

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

[更新] 如果我运行应用程序,那么在崩溃之前我可以在调试器中看到的最后一段代码 在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支持确认问题出现在数据库中并向我发送修复程序。

1 个答案:

答案 0 :(得分:1)

转到CMS站点管理器 - &gt;发展 - &gt;模块。编辑“工具”并转到“用户界面”选项卡。检查所有节点 - 查看其代码名称并检查其中一些是否与“RecentDocs”不相等。默认情况下,此节点位于Documents&amp ;;的“My Desk”模块下。对象节点,所以我不知道为什么工具选项卡会尝试加载它。