Tuesday, November 10, 2015

SharePoint: White Screen of Death Troubleshooting

Anytime you get a white screen of death from SharePoint (as shown below), you are in luck!





Server Error in '/' Application.
--------------------------------------------------------------------------------

The resource cannot be found. 
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly. 


All you need to do is View the Source of the web page to find out the actual error or problem.


[FileNotFoundException]: File Not Found.
   at Microsoft.SharePoint.ApplicationRuntime.SPVirtualFile.CalculateFileDependencies(HttpContext context, SPRequestModuleData basicRequestData, ICollection& directDependencies, ICollection& childDependencies)

Usually the problems I have seen are a missing assembly or master page. 






Friday, January 9, 2015

SharePoint Online: Search Image Preview Confirmation

There have been some comments on my original postings in regards to image search results and previews of images not stored in picture libraries. The original post is here.

The issue now is does this work in SharePoint Online? There is no way to add file types to search in SharePoint Online. I was thinking that maybe, behind the scenes, they had this corrected and all would be good. Nope!

Picture libraries seem to have full support for all image types (at least the usual suspects - gif, jpg, png).

Example Preview of Image in Picture Library


Example Preview of Image in Document Library



So this just confirms that images that are not stored in picture libraries do not get rendered as images in search results. Right now the only workaround I would think is to modify the document item search template and look for the file extension - similar to what I originally did for Problem #2 in this post. (my original solution was not actually needed because of an early bug where image result types were set to show default items).