Skip to main content

Posts

Showing posts from March, 2014

Sorry, Something went wrong - SharePoint Search Results

How many times have we seen this in SharePoint 2013! I was working on custom search results page that had custom display templates. These display templates weren't complex and were almost similar to OOB templates. Everything seemed fine, I was getting results based on my query and managed metadata settings. All looked well until users started hitting these search pages. They were greeted with the message "Sorry, something went wrong". Search refiners in the page was working fine but not the results webpart. I had no clue what was going wrong. I tried ULS logs and found access denied error on the .js file that gets created part of the display template while logging in to the site as an end user with read access. I saw similar error in fidler while logging in to the site as an end user. Here are the errors I found using fiddler and IE dev toolbar: "file was blocked due to mime type mismatch" "Access denied. Item does not exist. It may have been dele