Unable to create a Search Service Application - "Errors were encountered during the configuration of the Search Application"

ISSUE

Error when creating the search service application- Errors were encountered during the configuration of the Search Application"

CAUSE

* We see the following in the ULS logs When the search service application creation fails
* The call to SearchServiceInstance.Provision (server 'GmallyaSP') failed. Setting back to previous status 'Disabled'. System.InvalidOperationException: Service is offline at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Provision() at Microsoft.Office.Server.Search.Administration.SearchAdminUtils.DeployLocalServiceInstance[T](T localSearchServiceInstance)

RESOLUTION

* Use the PowerShell commandlets to bring the search service online. Following are the PowerShell commandlets I used to resolve to verify the status of the service and then bring the service instance online:

$ssa= Get-SPEnterpriseSearchServiceInstance -local
$ssa

RESULTS:

TypeName : SharePoint Server Search
Description : Index content and serve search queries
Id : 4da7eac7-95ce-4a69-bfd2-910f023aed7c
Server : SPServer Name=GmallyaSP
Service : SearchService Name=OSearch14
Role : None
QueryComponents : {}
CrawlComponents : {}
AdminComponents : {}
Status : Disabled

* Starting the service instance using the powershel gives an error

start-SPEnterpriseSearchServiceInstance -id $ssa

ERROR:

Start-SPEnterpriseSearchServiceInstance : Service is offline
At line:1 char:40
+ start-SPEnterpriseSearchServiceInstance <<<< -id $ssa
+ CategoryInfo : InvalidData: (Microsoft.Offic...ServiceInstance:StartSearchServiceInstance) [Start-SPEnterpriseSearchServiceInstance], InvalidOperationException
+ FullyQualifiedErrorId : Microsoft.Office.Server.Search.Cmdlet.StartSearchServiceInstance

* Check the status of the service -

Get-SPEnterpriseSearchService

RESULTS:

TypeName : SharePoint Server Search
Id : 8f86556d-f84c-4253-bebb-33512b77bc5a
ServiceName : OSearch14
ProcessIdentity : AD-ENT\isgssp2010
ContactEmail : <xyz@gmail.com>
Applications : {}
PerformanceLevel : PartlyReduced
Status : Disabled
Following are the Powershell to get the service online:
•Start the search service
$sa=Get-SPEnterpriseSearchService
$sa.Status=0
$sa.update()
$sa=Get-SPEnterpriseSearchService

Get-SPEnterpriseSearchService

RESULTS:

TypeName : SharePoint Server Search
Id : 8f86556d-f84c-4253-bebb-33512b77bc5a
ServiceName : OSearch14
ProcessIdentity : AD-ENT\isgssp2010
ContactEmail : <xyz@gmail.com>
Applications : {}
PerformanceLevel : PartlyReduced
Status : Online

* Now start the search service instance

$ssa=Get-SPEnterpriseSearchserviceinstance -local
$ssa.status=0
$ssa.update()
$ssa

RESULTS:

TypeName : SharePoint Server Search
Description : Index content and serve search queries
Id : 4da7eac7-95ce-4a69-bfd2-910f023aed7c
Server : SPServer Name=ISG-DAGOR
Service : SearchService Name=OSearch14
Role : None
QueryComponents : {}
CrawlComponents : {}
AdminComponents : {}
Status : Online

* Now create a search service application.

Comments

Popular posts from this blog

"There's a configuration problem preventing us from getting your document. If possible, try opening this document in Microsoft Word." Office WebApp Error

"Sorry, Word Web App can't open this ... document because the service is busy." Office WebApp

Unable to create a "Send to Connection"- verification failed -url is a not a valid routing destination