Tallan's Technology Blog

Tallan's Top Technologists Share Their Thoughts on Today's Technology Challenges

Error Calling FAST Search Service GetMetadataProperties()

Overview

During a recent server migration we attempted to bring up a client application that utilizes Search.asmx in a SharePoint/FAST Search installation.  The application calls GetMetadataProperties() at startup to create a cache of properties for a search based web application.  We were getting errors that we hadn’t seen previously.

Error Description

The .NET Code executing the GetMetadataProperties() call was receiving the following error:

image

There was no inner exception and no string in the Message property.

We examined the ULS logs on the Central Admin server and got the following:

 

SearchServiceApplication::GetProperties–Exception: Microsoft.SharePoint.Search.Extended.Administration.Common.AdminException: Failed to communicate with the WCF service. —> System.ServiceModel.Security.SecurityAccessDeniedException: Access is denied.    Server stack trace:
…….

Unable to retrieve FAST schema context — Exception: Failed to communicate with the WCF service. Microsoft.SharePoint.Search.Extended.Administration.Common.AdminException: Failed to communicate with the WCF service. —> System.ServiceModel.Security.SecurityAccessDeniedException: Access is denied.    Server stack trace:

………

SearchServiceApplicationProxy::GetProperties–Error occured: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Failed to communicate with the WCF service. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: Microsoft.SharePoint.Search.Extended.Administration.Common.AdminException: Failed to communicate with the WCF service. —-> System.ServiceModel.Security.SecurityAccessDeniedException: Access is denied.   Server stack trace:

……

Exception caught in QueryService class.  Exception message: Failed to communicate with the WCF service..  Stack:   Server stack trace:

……

Solution

Add the App Pool account for the FAST Search Center application to the FASTSearchAdministrators group on the FAST server.

No comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

\\\