I'm using FullTextSqlQuery to perform search on a specific list. Query returns results properly, but when I try to add ContentType column to select clause
SELECT Title,ContentType,Path FROM SCOPE() WHERE FREETEXT('pojazd') AND (CONTAINS(Path,'"/BW/Lists/Pytania Bazy Wiedzy"'))
I'm getting error:
Unhandled Exception: The creator of this fault did not specify a Reason.
After inspecting ULS, I found the following:
SearchServiceApplicationProxy::Execute--Error occured: System.ServiceModel.FaultException`1[Microsoft.Office.Server.Search.Administration.SearchServiceApplicationFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to Microsoft.Office.Server.Search.Administration.SearchServiceApplicationFault).
When I remove ContentType column, query performs properly. I'll also note, that I'm running my code from console application.