English 中文(简体)
How to debug Sitefinity 4.0 crashes?
原标题:

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?

问题回答

Did you try deleting the template and recreating it?





相关问题
Problem installing Sitefinity 4 custom module

I m posting this here since I didn t get any support from the sitefinity forum. I created a new SiteFinity 4.0 project and added the Meeting module from the Intranet Starter Kit. Here s what I did: ...

Trouble with jQuery/jQuery UI and Sitefinity 4.0

I am trying to use jQuery.hide("#whatever .class").hide("slide", { direction: "right" }, 750); to slide previously hidden divs in and out (think scrolling portals)... In just a basic HTML template ...

How to debug Sitefinity 4.0 crashes?

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 ...

Sitefinity - ViewState + Life Cycle for controls?

I built a custom control that acts as a wizard and contains other controls within it. I built and tested the control using a blank asp.net webform page and everything was working perfectly. I add the ...

ASP.NET HttpHandler and WebResource.axd issues

I need a simple HttpHandler to handle specific non-existant paths in my ASP.NET project. I m using sitefinity 4. I wrote the handler but whenever I try to run the site, I get a frustrating error The ...

Error whilst publishing Sitefinity4 project

I m trying to deploy a Sitefinity 4 project. I have the main web app project, and two external class libraries. I ve tried to publish, and ive tried using a web deployment project, however both times ...

热门标签