SearchServiceApplicationProxy Unable to connect with the Fast Service Proxy (Bug)

SharePoint 2010 getting search keyword: we were writing a custom code to get the Search keyword & best bets, we used the FAST Search Proxy. The big bug found & that mentioned below. Special thanks for Mikael Svenson. He already did a lot of research on it.

var ssaProxy = (SearchServiceApplicationProxy)SearchServiceApplicationProxy.GetProxy(SPServiceContext.Current);
if (ssaProxy.FASTAdminProxy != null) Error line
{
var fastProxy = ssaProxy.FASTAdminProxy;
KeywordContext keywordContext = fastProxy.KeywordContext;
var searchGroup = (from x in keywordContext.SearchSettingGroups wherex.Name==SPContext.Current.Site.ID.ToString() select x).First();
 }

Above code was not working, the problem was Fast Search Service Proxy unable to connect with the search service.

The FASTAdminProxy reads it’s WCF configuration from C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\FASTSearchAdmin\ContentCollectionService\client.config.
Service keep searching for the service name “ContentCollection.svc” at location folder %FASTSEARCH%\components\admin-services\. But on the FAST server the endpoint is named “ContentCollectionService.svc”

Thanks to Mikael Svenson Post “http://techmikael.blogspot.in/2011/08/working-with-content-collections-via.html

The fix is simple and involves making a copy of this file
%FASTSEARCH%\components\admin-services\contentcollectionservice.svc

Paste it at same location and change its name “contentcollectionservice.svc” to “contentcollection.svc”

%FASTSEARCH%\components\admin-services\contentcollection.svc



After that I deployed my custom web service. Guess what…L another issue encounter. Custom Service that consuming the fast Admin proxy throwing error “FAST Search - Unexpected error occurred while communicating with Administration Service”. The Application pool account of the Web Application does not have access to the FAST search engine.

Resolution
Add the Application Pool account to 'FASTSearchAdministrators' group
  • Open Active Directory Users and Computers
  • Navigate to domain control in the tree view
  • Click on Users and look for “FASTSearchAdministrators” group (In general, this group can be found in the 'Local Users and Groups' on the
  • systems that have FAST search installed)
  • Add the application pool account for the web application to this group.

Comments

Popular posts from this blog

SharePoint RPC Protocols Examples Using OWSSVR.DLL

Types of Features in SharePoint 2013

STS CryptographicException Error : Key set does not exist