Share via


Troubleshooting SharePoint search error 0x800706BE: The remote procedure call failed

 


Issue

When you try to browse my Content Source, crawl log, etc you get error "The remote procedure call failed" (Exception from HRESULT: 0x800706BE). On Search admin page you could see All Error.

http://freeit-support.com/wp-content/uploads/2014/09/0042-300x65.jpg

http://freeit-support.com/wp-content/uploads/2014/09/0035-300x110.jpg

 

Analysis

In ULS Log file you got below error:

The gatherer object cannot be initialized. Context: Application 'Search_Service_Application', Catalog 'Portal_Content' Details: Access is denied. (0x80070005)

The application cannot be initialized. Context: Application 'Search_Service_Application' Details: Access is denied. (0x80070005)

pplication error when access /_admin/search/CrawlLogContentSources.aspx, Error=The remote procedure call failed. (Exception from HRESULT: 0x800706BE) at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object sender, EventArgs e) at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallH...

System.Runtime.InteropServices.COMException: The remote procedure call failed. (Exception from HRESULT: 0x800706BE) at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object sender, EventArgs e) at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.Htt... 8037bb9c-5f8c-d098-ef4d-e03a32dc9bf8

09/23/2014 12:25:37.81* w3wp.exe (0x3490) 0x2784 SharePoint Foundation Runtime tkau Unexpected ...pApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

The gatherer object cannot be initialized. Context: Application 'Search_Service_Application', Catalog 'Portal_Content' Details: Access is denied. (0x80070005) The application cannot be initialized. Context: Application 'Search_Service_Application' Details: Access is denied. (0x80070005) pplication error when access /_admin/search/CrawlLogContentSources.aspx, Error=The remote procedure call failed. (Exception from HRESULT: 0x800706BE) at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object sender, EventArgs e) at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallH... System.Runtime.InteropServices.COMException: The remote procedure call failed. (Exception from HRESULT: 0x800706BE) at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object sender, EventArgs e) at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.Htt... 8037bb9c-5f8c-d098-ef4d-e03a32dc9bf8 09/23/2014 12:25:37.81* w3wp.exe (0x3490) 0x2784 SharePoint Foundation Runtime tkau Unexpected ...pApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Getting Error Message for Exception System.Runtime.InteropServices.COMException (0x800706BE):

The remote procedure call failed. (Exception from HRESULT: 0x800706BE) at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object sender, EventArgs e) at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

http://freeit-support.com/wp-content/uploads/2014/09/0036-300x73.jpg

 

Event Viewer

 Event ID: 1311

Log Name: Application

Source: Microsoft-SharePoint Products-SharePoint Server Search

Date: 9/23/2014 1:14:21 PM

Event ID: 1311

Task Category: Crawler:Gatherer Plugin

Level: Error

Keywords:

User: domain\user

Computer: computer.domain.com

Description:

The gatherer object cannot be initialized. Context: Application 'Search_Service_Application', Catalog 'Portal_Content' Details: Access is denied. (0x80070005)

Log Name: Application

Source: Microsoft-SharePoint Products-SharePoint Server

Date: 9/23/2014 1:14:08 PM

Event ID: 6482

Task Category: Shared Services

Level: Error

Keywords:

User: domain\user

Computer: computer.domain.com

Description:

Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (7041cac9-78a8-4e9d-9b68-7fd58e549e36).

Reason: The remote procedure call failed. (Exception from HRESULT: 0x800706BE)

Technical Support Details:

System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed. (Exception from HRESULT: 0x800706BE)

at Microsoft.Office.Server.Search.Administration.MSSITLB.IGatherManagerAdmin3.get_ConfigurationVersion()

at Microsoft.Office.Server.Search.Administration.Gatherer.ProvisionGlobalProperties()

at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()

at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)

 

Event ID: 1000

Log Name: Application

Source: Application Error

Date: 9/23/2014 1:14:21 PM

Event ID: 1000

Task Category: (100)

Level: Error

Keywords: Classic

User: N/A

Computer: computer.domain.com

Description:

Faulting application name: OWSTIMER.EXE, version: 15.0.4420.1017, time stamp: 0x50674330

Faulting module name: clr.dll, version: 4.0.30319.18063, time stamp: 0x526767d0

Exception code: 0xc00000fd

Fault offset: 0x0000000000004823

Faulting process id: 0x29c

Faulting application start time: 0x01cfd7021e388d0f

Faulting application path: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\BIN\OWSTIMER.EXE

Faulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll

Report Id: 6de8ab5a-42f5-11e4-b954-1078d249c51f

 

Event ID: 1026

Log Name: Application

Source: .NET Runtime

Date: 9/23/2014 1:14:21 PM

Event ID: 1026

Task Category: None

Level: Error

Keywords: Classic

User: N/A

Computer: computer.domain.com

Description:

Application: mssearch.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: exception code c0000005, exception address 000007FEBE7EFCAC

 

Event ID: 1000

Log Name: Application

Source: Application Error

Date: 9/23/2014 1:14:21 PM

Event ID: 1000

Task Category: (100)

Level: Error

Keywords: Classic

User: N/A

Computer: computer.domain.com

Description:

Faulting application name: mssearch.exe, version: 15.0.4420.1017, time stamp: 0x50674115

Faulting module name: MSSrch.dll, version: 15.0.4420.1017, time stamp: 0x50674168

Exception code: 0xc0000005

Fault offset: 0x00000000000efcac

Faulting process id: 0x2d48

Faulting application start time: 0x01cfd7022f675638

Faulting application path: C:\Program Files\Microsoft Office Servers\15.0\Bin\mssearch.exe

Faulting module path: C:\Program Files\Microsoft Office Servers\15.0\Bin\MSSrch.dll

Report Id: 6e18e456-42f5-11e4-b954-1078d249c51f

 

Event ID: 1001

Log Name: Application

Source: Windows Error Reporting

Date: 9/23/2014 1:14:22 PM

Event ID: 1001

Task Category: None

Level: Information

Keywords: Classic

User: N/A

Computer: computer.domain.com

Description:

Fault bucket , type 0

Event Name: APPCRASH

Response: Not available

Cab Id: 0

Problem signature:

P1: mssearch.exe

P2: 15.0.4420.1017

P3: 50674115

P4: MSSrch.dll

P5: 15.0.4420.1017

P6: 50674168

P7: c0000005

P8: 00000000000efcac

P9:

P10:

Attached files: These files may be available here: C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_mssearch.exe_ad41854ae647fa879c781a7c75bbda4cb9d73d74_614ef624

Analysis symbol:

Rechecking for solution: 0

Report Id: 6e18e456-42f5-11e4-b954-1078d249c51f

Report Status: 4

Found all search services are started in Central admin

http://freeit-support.com/wp-content/uploads/2014/09/0037-300x38.jpg

Service "Sharepoint server search 15 service" was stopped so tried to start "Sharepoint server search 15 service" from services.msc console got error

Windows could not start the SharePoint Server Search 15 service on computername.

EError 1067: The process terminated unexpectedly

http://freeit-support.com/wp-content/uploads/2014/09/0038-300x120.jpg

 

Did not find any issue with Search Topology

http://freeit-support.com/wp-content/uploads/2014/09/0039-300x108.jpg

 

Got Upgrade available in Central admin. So planned to update the server by running PSconfig wizard.

http://freeit-support.com/wp-content/uploads/2014/09/0040-300x42.jpg

 

Troubleshooting steps

Open SharePoint PowerShell as administrator and run below:

psconfig -cmd upgrade inplace b2B wait

 

Got below error

SharePoint Products Configuration Wizard version 15.0.4420.1017. Copyright (C) Microsoft Corporation 2012. All rights reserved.

Performing configuration task 1 of 4

Initializing SharePoint Products upgrade...

Waiting to get a lock to upgrade the farm.

Successfully initialized the SharePoint Products configuration.

Performing configuration task 2 of 4

Initiating the upgrade sequence...

Successfully initiated the upgrade sequence.

Performing configuration task 3 of 4

Upgrading SharePoint Products...

Failed to upgrade SharePoint Products.

An exception of type Microsoft.SharePoint.Administration.SPUpdatedConcurrencyException was thrown. Additional exception information: An update conflict has occurred, and you must re-try this action. The object SPUpgradeSession Name=Upgrade-20140923-132412-856 was updated by domain\user, in the PSCONFIG (8960)process, on machine computername. View the tracing log for more information about the conflict.

Total number of configuration settings run: 3

Total number of successful configuration settings: 2

Total number of unsuccessful configuration settings: 1

Successfully stopped the configuration of SharePoint Products.Configuration of SharePoint Products failed. Configuration must be performed before you use SharePoint Products. For further details, see the diagnostic log located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS\PSCDiagnostics_9_23_2014_13_23_25_265_114189745.log and the application event log.

In SharePoint powershell ran "IISReset" and above command. Still got same error

Reboot the server and tried above command. Still got same error

 

Solution found

In SharePoint powershell tried below command:

PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures

Now you got below message:

10.00% : Failed to start service SearchServiceInstance on this server after completing upgrade. Please start it manually.

Successfully upgraded SharePoint Products.

Performing configuration task 6 of 6

Finalizing the SharePoint Products configuration...

Try to run SharePoint Products and configuration wizard from UI and now search service should start.

http://freeit-support.com/wp-content/uploads/2014/09/0043-300x58.jpg

Confirmed that search is also working fine.

http://freeit-support.com/wp-content/uploads/2014/09/0042-300x65.jpg

http://freeit-support.com/wp-content/uploads/2014/09/0041-300x170.jpg

 

Also you don't have the upgrade error anymore

http://freeit-support.com/wp-content/uploads/2014/09/0044-300x40.jpg