I have customized the XsltListViewWebPart behind a SharePoint list view. I have chosen to include my custom XSL inline through the <Xsl> tag rather than link to an external Xslt file through the <XltLink> tag. These changes were all made through SharePoint Designer and the XSL is minor - just a couple of tweaks to 2-3 columns.
The page works fine and I am able to continue to use the page (through the SharePoint web site) throughout the day. Every morning when I return, the page is broken with a correlation ID error. If I then simply open the page in Designer and save it again without making any changes, the page will again start working through the SP web site.
The error log indicates a problem with the XsltTranform. "Error while executing web part: System.StackOverflowException: Operation caused a stack overflow. at Microsoft.Xslt.NativeMethod.CheckForSufficientStack()...". The stack trace then ends on the method"DataFormWebPart.PrepareandPerformTransform".
I have learned about increasing the XslTransformTimeout value and an admin on our farm has applied a timeout of 5 seconds. On day one, it seemed to work, however, it has began failing each day again.
Anyone have this one figured out? Should the timeout be increased to 15 seconds? 30 seconds? 30 minutes?