当我点击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支持确认问题在数据库中,并向我发送修复程序。
发布于 2013-05-06 03:39:02
转到CMS站点管理器->开发->模块。编辑“工具”并转到用户界面选项卡。检查所有节点-查看它们的代码名,并检查其中一些节点是否不等于'RecentDocs‘。默认情况下,这个节点在Documents & Objects节点下的'My Desk‘模块下,所以我不知道为什么tools选项卡试图加载它。
https://stackoverflow.com/questions/16370224
复制相似问题