Wednesday, October 28, 2015

SharePoint randomly displays web part error or XSLTTransformTimeout Power shell Script

We have facing this issue unable to display webpart.

When we have create more than 120 columns in our list Its shows error in our page

Default setting is 1 second. The PowerShell code below changes it to 2 seconds which should be sufficient for your farm.  So,we will choosing 4 seconds timeout. 



Powershell Script:

$farm = Get-SPFarm
$farm.XSLTTransformTimeout = 4
$farm.Update()



Effects:

If you backup/restore a site collection, you get this error when displaying All Items views.
I created a view loading 20 items at a time instead of all and it fixed the issue.

No comments:

Post a Comment