Tuesday, September 30, 2014

#SharePoint | Broken List Views / ECB

Problem:
- Clicking a list view ECB (Edit Control Block) often causes
This item is no longer available. it may have been deleted by another user. click ok to refresh the page.

- List View Web Part often causes
Unable to display this webpart. Correlation ID: xxx
(UI)

or

Error while executing web part System.StackOverflowException Operation caused a stack overflow.   
at Microsoft.Xslt.NativeMethod.CheckForSufficientStack()

(log)


Solution:
It appears that list views need to load within 1 second, otherwise SharePoint will block them from loading due to a timeout.


SPFarm.XsltTransformTimeOut
"Specifies the seconds that a customized XSLT transformation is allowed to run. "

This property is editable with PowerShell:
$farm = Get-SPFarm
$farm.XsltTransformTimeOut = 5
$farm.Update()

http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spfarm.xslttransformtimeout%28v=office.15%29.aspx

http://sharepoint.stackexchange.com/questions/20523/custom-list-form-loading-error-error-while-executing-web-part-system-stackover

1 comment:

  1. Hi there! glad to drop by your page and found these very interesting and informative stuff. Thanks for sharing, keep it up!

    ReplyDelete