none
WebPart Stack Overflow error RRS feed

  • Question

  • Hello,

    I have a custom EditForm.aspx to do some formatting customization.  There are about 60 columns in the list.  The DispForm and NewForm are similarly customized.  However, when I try to use the custom EditForm, I get the following error:

    Unable to display this Web Part. To troubleshoot the problem,
    open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor
    such as Microsoft SharePoint Designer. If the problem persists, contact your Web
    server administrator.

    Correlation
    ID:xxxx-xxxxx-xxxx


    And in ULS Logs:

    Error while executing web part: System.StackOverflowException: Operation caused a stack overflow.   
    at Microsoft.Xslt.NativeMethod.CheckForSufficientStack()   
    at <xsl:template name="dvt_1.rowedit">(XmlQueryRuntime , XPathNavigator , Double , String )   
    at <xsl:template name="dvt_1.body">(XmlQueryRuntime , IList`1 )   
    at <xsl:template name="dvt_1">(XmlQueryRuntime , XPathNavigator )   
    at Root(XmlQueryRuntime )   
    at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean closeWriter)   
    at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)   
    at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, XmlWriter results)   
    at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)   
    at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform)

    I have found a couple of similar posts, but it doesn't seem there is a real solution.  Has anyone encountered this and found a fix?

    For EditForm: http://social.technet.microsoft.com/Forums/en-US/sharepoint2010customization/thread/afff84dd-713d-4427-af34-8d6fabf93852

    For DVWP http://social.technet.microsoft.com/Forums/en-IN/sharepoint2010customization/thread/ad13e5e4-e211-453f-bfef-fe260591154a

    Thanks for any ideas or suggestions!

    Thursday, June 7, 2012 12:02 PM

All replies