Hopefully this post will be useful for others as they search webs for answers. I have noticed that on some rare occasions web parts do not load after a recent save. The webpart will have to be reloaded two or three times during the initial load after the save. After (usually) the second refresh, the correlation ID disappears permanently. So, why does this occur? It could be a multitude of reasons. In my case it has to do with the load time of the very complex xslt. I have altered my layout habits and have not had issues since. The following tactics have worked well for me:
- break out and reference link css, xsl, js, anything that can be linked externally
- Reduce template complexity by keeping a very close eye on recursive templates
- turn off auto styling of css
- turn off auto ID generation
- If using any script blocks, check them to see if the code is being html encoded. I've run into situations where a CDATA block had to be decoded to remove unwanted characters.
[Original Question] Kind of a strange question here that is leaving me stumped. Just the facts jack:
- Users get the "Unable to display this Web Part...etc" message when opening a custom view (Listview).
- This only happens for certain users or maybe certain workstations is more apt. I can open the view just fine from one workstation and not the other.
- Opening the view and re-saving it without changing it gets it working again.
- It gives a correlation ID but I am unable to find it in logs.
- This problem will knock out all views for a specific list - I have to go re-save them all to get them working.
After some testing I found that when I load the list from outside our business network, it will cause the error internally. I proceed to save the page in SPD and it will work both internally and externally. The list works consistently externally.
Any help is appreciated. Thanks!