Tuesday, July 1, 2014

Sharepoint Anonymous Search Rest not working

status 500, Microsoft.Office.Server.Search.REST.SearchServiceException, unknown error occurred.
if that's what you get, then go take a look at the ULS logs, there is a lot of info there.
one of them might be "An XML declaration with an encoding is required for all non-UTF8 documents." that mean that the queryparametertemplate.xml is encoded with something that is not UTF-8, so download it, and save it again as UTF-8 (preferred to delete the old copy from all recycles before)

1 comment:

  1. Thanks for posting this, that fixed the error for us!