如何调试 Sitefinity 4.0 崩溃?
我是 Sitefinity 的新手,我想知道如何进行一般调试。我这里有一个具体案例,但我的问题比这个具体案例更大。
这是我的案例:
我创建了一个模板(来自 Sitefinity 后端)和一些基于该模板的页面。在某个时候,我更改了模板并保存/发布了修改。现在,当我打开模板时,我会看到一个黄色的死机屏幕,上面写着:
[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: index]
System.Web.UI.ControlCollection.AddAt(Int32 index, Control child) +11236150
Telerik.Sitefinity.Web.UI.ZoneEditor.ProcessMisplacedControls() +1435
Telerik.Sitefinity.Web.UI.ZoneEditor.CreateChildControls() +82
System.Web.UI.Control.EnsureChildControls() +182
System.Web.UI.Control.PreRenderRecursiveInternal() +60
System.Web.UI.Control.PreRenderRecursiveInternal() +222
System.Web.UI.Control.PreRenderRecursiveInternal() +222
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4185
我认为 Sitefinity 模板设计器在某处生成了无效标记(请参阅 ProcessMisplacedControls 方法)。
我该如何调查这个问题以及如何修复我的模板?我可以在某处看到模板标记来尝试手动修复它吗?
I'm new to Sitefinity and I want know how to approach debugging in general. I have a specific case here but my question is larger than this specific case.
So here is my case:
I've created a template (from the Sitefinity backend) and a few of pages based on that template. At some point I changed the template and saves/published the modifications. Now, when I open the template I get a yellow screen of death that says:
[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: index]
System.Web.UI.ControlCollection.AddAt(Int32 index, Control child) +11236150
Telerik.Sitefinity.Web.UI.ZoneEditor.ProcessMisplacedControls() +1435
Telerik.Sitefinity.Web.UI.ZoneEditor.CreateChildControls() +82
System.Web.UI.Control.EnsureChildControls() +182
System.Web.UI.Control.PreRenderRecursiveInternal() +60
System.Web.UI.Control.PreRenderRecursiveInternal() +222
System.Web.UI.Control.PreRenderRecursiveInternal() +222
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4185
I suppose the Sitefinity template designer generated invalid markup somewhere (see the ProcessMisplacedControls method).
How do I investigate this this and how can I repair my template? Can I see the template markup somewhere to try and fix it manually?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试删除模板并重新创建它?
Did you try deleting the template and recreating it?