HI I have setup a FAST server and a sharepoint server both in same farm. I have created a custom search webpart which is doing a keyword query and displaying the results. Now I have also published my FAST Query SSA and I am using the proxy in another farm (all trust and everything is done and even I'm getting search results in search centre with the proxy ). When I'm using the same webpart there to run the keyword query I'm getting the following exception
The search request was unable to execute on FAST Search Server.
Exception:---
at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.ThrowBackwardCompatibleException(FaultException`1 ex)
at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoSpLoadBalancedUriWsOp[T](WebServiceBackedOperation`1 webServiceCall, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, String operationName)
at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoWebServiceBackedOperation[T](String operationName, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, WebServiceBackedOperation`1 webServiceCall)
at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.Execute(QueryProperties properties)
at Microsoft.Office.Server.Search.Query.Query.Execute()
at Homepage.browse.Page_Load(Object sender, EventArgs e)
What is that I'm doing wrong:-
I have been trying to fix this since entire day . Please any FAST expert help me out resolving this issue as this is a real critical application for my client and they want it done by tomorrow.
Please find the code also:-
using (KeywordQuery query = new KeywordQuery(proxy)) { query.ResultsProvider = Microsoft.Office.Server.Search.Query.SearchProvider.Default; query.QueryText = querytext; query.Refiners = "bbcategories"; query.SelectProperties.Add("BCTitle"); query.SelectProperties.Add("BrowseURL"); query.SelectProperties.Add("categories"); query.SelectProperties.Add("Comments"); query.SelectProperties.Add("InfoType"); query.SortList.Add("infotype", Microsoft.Office.Server.Search.Query.SortDirection.Descending); query.SortList.Add("bctitle", Microsoft.Office.Server.Search.Query.SortDirection.Ascending); query.ResultTypes = ResultType.RelevantResults | ResultType.RefinementResults; query.RowLimit = 10000; ResultTableCollection resultTables = query.Execute(); ResultTable results = resultTables[ResultType.RelevantResults]; ResultTable refinements = resultTables[ResultType.RefinementResults]; DataTable dt = new DataTable(); DataTable dtr = new DataTable(); }
Regards,
Re