Users receive an error while performing a SharePoint search operation - Internal server error exception. This is the only message and rest is the standard Correlation ID information. But the Correlation ID is the most useful.
Analysis and TroubleshootingUpon reviewing the ULS logs using Correlation ID, the below error message is found. Check here - How to use Merge-SPlogfile to find logs based on Correlation ID error
SearchServiceApplication::Execute--Exception:
System.Runtime.InteropServices.COMException (0x800703FA):
Illegal operation attempted on a registry key that has been marked for deletion.
(Exception from HRESULT: 0x800703FA)
at System.Runtime.InteropServices.Marshal.
ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.Office.Server.Search.Query.KeywordQueryInternal.Execute()
at Microsoft.Office.Server.Search.Query.QueryInternal.Execute(QueryProperties properties)
at Microsoft.Office.Server.Search.Administration.SearchServiceApplication.Execute(QueryProperties properties)
This issue does not seem to be related to permissions or configuration. Sometimes this looks intermittent. It seems some registry key has been marked for deletion but still has open handles or references.
Possibly something is wrong with the Search Query component. Now the query component can be hosted on multiple servers.
An easier option would be to restart related app pool, service on all SharePoint servers.
Resolution:Follow the below steps to resolve this issue. If problem still persists, you may need to follow up with your Administrator.
- From IIS - Restart (Stop-Start) the application pool for SecurityTokenService on all SharePoint FARM servers.
- From Central Admin - Restart (Stop-Start) the Search Query and Site Settings Service on all SharePoint FARM servers hosting query component.
- Perform an IISRESET on all SharePoint servers in FARM.
- SharePoint error - An exception occurred when trying to issue security token: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms..
- PowerShell iterate and get all SharePoint sites and sub sites
- SharePoint Online: Editing session has ended Message
- How to Share Microsoft SharePoint Site with Users or Groups
- How to delete SharePoint Online List Item using REST API
- SharePoint List excel import - This table exceeds the maximum number of supported rows
- How to disable SharePoint subsite creation option for owners
- SharePoint 2010 August 2015 Update KB3055049 - Duplicate Document ID issue bug fixed
- SharePoint Server 2016 Preview installation error - This Product Key isn't a valid Microsoft Office 2016 Product Key. Check that you've entered it correctly.
- How to upload file programmatically to SharePoint Document Library using Server Object Model C# .Net
- Access URL for SharePoint Tenant Admin Center (Online Office 365)
- Error when deleting SharePoint Online folder or file
- How to extend retiring SharePoint 2010 Workflows and continue with Office 365
- How to generate client id and secret to register SharePoint App with OAuth
- How to delete SharePoint List Item programmatically using C#.Net
- How to retrieve all SharePoint Online List Items using Rest API
- [Solved] SharePoint Search Internal server error exception
- Create SharePoint Site Collection using PowerShell New-SPSite
- Fix SharePoint PowerShell error - The term Get-SPweb is not recognized as the name of a cmdlet function script file or operable program
- How to enable anonymous public access for SharePoint Online site collection, file, folder without login ?
- SharePoint Server 2016 installation System Hardware requirements
- How to create SharePoint Online List Item using REST API
- Changed AD user display name showing old name in SharePoint
- Recommended size and resolution for SharePoint Online Site logo
- Microsoft 365: How to Turn Off Delve in SharePoint Online for All Users
- Error: Can not find the tag library descriptor for - Java
- Fix: Eclipse Cant Connect to any repository not Authorized Error GitHub - Eclipse
- Command to know the Available Memory on Linux System - Linux
- How to Change Eclipse Default Web Browser - Eclipse
- REST API to get all Jira projects - Postman, Basic Auth - Jira
- How to create SharePoint Document Library - SharePoint
- Examples: Convert String to int in JavaScript - JavaScript
- [Python] Fix: ValueError: All arrays must be of the same length - Python