First let me say I have been all over the web looking for a fix and keep finding references to the XsltTransformTimeOut value. I have already had our admins set ours from 1 to actually 10 seconds and my problem persists. First some background:
- Site is SP 2010 Foundation (I believe)
- Site has 4 servers in the farm but only one acting as web front end. SQL backend is clustered DB servers
- Issue occurs when trying to display a view of a custom list
- Custom list probably contains 30+ elements but the view in question is only utilizing 14
Now scenario creating problem
- I open the view file "Summary Test.aspx" in SPD 2010 using "edit file in advanced mode"
- Once file is open in SPD 2010 on the Design tab I use the Customize XSLT option to "Customize Entire View"
At this point I find the tag for the column I am trying to modify and make the following change:
Current code - <th nowrap="nowrap" scope="col" onmouseover="OnChildColumn(this)"> My updated code - <th style="width:75px" nowrap="nowrap" scope="col" onmouseover="OnChildColumn(this)"> As you can see the only thing I have added is style="width:75px"
Upon saving this file and trying to display the view I get the dreaded
"Unable to display web part ...."
with the random correlation ID.
I realize I can use custom css files to accomplish some styling and interestingly enough if I add a custom style sheet to this file (through SPD) and do not add any code directly into the page code the custom css works. However, for this particular view I am only trying to adjust the width of this one column and have not been able to find any unique css elements that I could manipulate that would only affect this one column.
Other things of interest during testing:
- While XsltTransformTimeout was set to 5 if I saved the above file and viewed the page using a stopwatch sometimes it would error out faster than 5 seconds
- Usually during a third refresh (first 2 would error out) the page would render correctly in under 5 seconds
- If I removed some of the fields in the view so that it was down to say 9 columns sometimes (again using stopwatch) the page would randomly error out or render in under 5 seconds
Things of interest during testing now that XsltTransformTimeout is 10 seconds:
- Now sometimes after saving form it takes longer for it to error out seems longer than 10 seconds but have not tested with a stopwatch
- It does appear now that upon second refresh (only first view attempt fails) the page renders correctly
I find it very hard to believe that merely adding a style to define column width in a table should cause a 10+ second delay for the transformation thus generating the error scenario. But like the great philospher Alan from the Hangover 2 "I'm at my wits end"
Any help or suggestion would be greatly appreciated. The SP environment is in a corporate setting so my means of implementing a solution are limited. I am the site collection administrator so I can access the entire site structure in SPD and through UNC paths but I have no access to the full SP/OS file structure nor the SP Central Admin interface.