SearchResults layout issue in enterprise search center.
I just checked  searchResults.aspx in Sharepoint designer and without making any changes saved the layout,But after that,All the pages which is using this layout is giving me an error "An error occurred during the processing of /sites/EnterpriseSearch/_catalogs/masterpage/searchresults.aspx. Code blocks are not allowed in this file." I tried changing the version to previous but it still gives me the same error.Is there anyway to make this layout work as before?Any pointers will be helpful.
January 23rd, 2014 9:05am

Hi,    

What if you Reset to Site Definition, will the error still exists?

Please be careful to modify the page in SharePoint cause it will be easy to come across such error. It is recommended to make a copy before you open it in SharePoint Designer.

It will be better to check out before you access its source code in SharePoint Designer. Once you close it, please check in and publish.

Feel free to reply if the issue still exists.

Best regards
Free Windows Admin Tool Kit Click here and download it now
January 27th, 2014 1:33pm

thanks patrick that worked :)
January 30th, 2014 11:25am

Hi Patrick,

I  also was facing the same issue, yesterday and  "Reset to SiteDefiniton" approach helped me to  solve the same issue.

Thanks very much!

Free Windows Admin Tool Kit Click here and download it now
July 2nd, 2015 2:24am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics