Setting Content Access account for Search Service Application

Topics: Support
Apr 18 at 7:50 PM

Exception

The search service is not able to connect to the machine that hosts the administration component. Verify that the
administration component '5e97b1f6-4139-4b28-a877-3b55f45032cd' in search application 'Search Service Application' is
in a good state and try again.
+ CategoryInfo          : InvalidData: (Microsoft.Offic...viceApplication:SetSearchServiceApplication) [Set-SPEnte
rpriseSearchServiceApplication], InvalidOperationException
+ FullyQualifiedErrorId : Microsoft.Office.Server.Search.Cmdlet.SetSearchServiceApplication
+ PSComputerName        : CORSP13WEB01


Exception : System.Management.Automation.MethodInvocationException: Exception calling "Activate" with "0"
                    argument(s): "The search service is not able to connect to the machine that hosts the
                    administration component. Verify that the administration component
                    '5e97b1f6-4139-4b28-a877-3b55f45032cd' in search application 'Search Service Application' is
                    in a good state and try again." ---> System.InvalidOperationException: The search service is
                    not able to connect to the machine that hosts the administration component. Verify that the
                    administration component '5e97b1f6-4139-4b28-a877-3b55f45032cd' in search application 'Search
                    Service Application' is in a good state and try again.
                       at Microsoft.Office.Server.Search.Administration.SearchApi..ctor(SearchServiceApplication
                    application)
                       at Microsoft.Office.Server.Search.Administration.SearchServiceApplication.get_SearchApi()
                       at Microsoft.Office.Server.Search.Administration.Topology.SearchTopology.ThrowIfSearchServic
                    eApplicationIsPaused()
                       at Microsoft.Office.Server.Search.Administration.Topology.SearchTopology.Activate()
                       at CallSite.Target(Closure , CallSite , Object )
                       --- End of inner exception stack trace ---
                       at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext
                    funcContext, Exception exception)
                       at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame
                    frame)
                       at
                    System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame
                    frame)
                       at
                    System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame
                    frame)
                       at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
                       at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
                       at System.Management.Automation.ScriptBlock.InvokeWithPipeImpl(ScriptBlockClauseToInvoke
                    clauseToInvoke, Boolean createLocalScope, Dictionary`2 functionsToDefine, List`1
                    variablesToDefine, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object
                    input, Object scriptThis, Pipe outputPipe, InvocationInfo invocationInfo, Object[] args)
                       at System.Management.Automation.ScriptBlock.<>c__DisplayClassa.<InvokeWithPipe>b__8()
                       at System.Management.Automation.Runspaces.RunspaceBase.RunActionIfNoRunningPipelinesWithThre
                    adCheck(Action action)
                       at System.Management.Automation.ScriptBlock.InvokeWithPipe(Boolean useLocalScope,
                    Dictionary`2 functionsToDefine, List`1 variablesToDefine, ErrorHandlingBehavior
                    errorHandlingBehavior, Object dollarUnder, Object input, Object scriptThis, Pipe outputPipe,
                    InvocationInfo invocationInfo, Object[] args)
                       at System.Management.Automation.ScriptBlock.InvokeUsingCmdlet(Cmdlet contextCmdlet, Boolean
                    useLocalScope, ErrorHandlingBehavior errorHandlingBehavior, Object dollarUnder, Object input,
                    Object scriptThis, Object[] args)
                       at Microsoft.PowerShell.Commands.ForEachObjectCommand.ProcessRecord()
                       at System.Management.Automation.CommandProcessor.ProcessRecord()
TargetObject :
CategoryInfo : NotSpecified: (:) [ForEach-Object], MethodInvocationException
FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.ForEachObjectCommand
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at <ScriptBlock>,
                    \\CORSP13OWA01\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1: line 5092
                    at CreateEnterpriseSearchServiceApp,
                    \\CORSP13OWA01\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1: line 4710
                    at Setup-Services, \\CORSP13OWA01\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerMain.ps1:
                    line 229
                    at <ScriptBlock>, \\CORSP13OWA01\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerMain.ps1:
                    line 411
                    at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}
PSMessageDetails :