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.
- error CAML Query containing special characters
- [Solved] SharePoint Illegal operation attempted on a registry key that has been marked for deletion
- Trigger Flow on selected Listitem from SharePoint view - create button with JSON column formatting
- SharePoint Excel error - The workbook cannot be opened because it contains the following features that are not supported by Excel in the browser
- Send Email with attachment using SharePoint PowerShell, SMTP server
- How to show or hide columns in SharePoint Online List Library from
- SharePoint excel error - A problem occurred while connecting to the server. If the problem continues, contact your administrator.
- How to get SharePoint Online user details from person or group column using REST API
- How to get SharePoint List Item URL using PowerShell
- How to get the SharePoint Tenant Login URL
- Special character & not working with SharePoint REST API
- How to disable SharePoint subsite creation option for owners
- Managed Metadata error - The data returned from the tagging UI was not formatted correctly
- Deploy SharePoint wsp solution package using PowerShell
- How to create classic site in SharePoint Online
- See actual SharePoint error exception modify web.config
- 'Edit Document' Requires a Windows Sharepoint Services-compatible application and Microsoft Internet Explorer 6.0 or higher
- How to enable anonymous public access for SharePoint Online site collection, file, folder without login ?
- SharePoint installation error - Setup is unable to proceed due to the following error This product requires Microsoft .Net Framework 4.5
- How to add animated Gif to SharePoint Online Page
- [Solved] SharePoint Search Internal server error exception
- How to create SharePoint Document Library
- SharePoint - Use Today's Date Time in list view filter and calculated column
- How to redirect SharePoint Site Collection to different URL
- SharePoint error cannot connect to the configuration database
- How to find version of Cargo in Rust - Rust
- Examples: Convert String to int in JavaScript - JavaScript
- How to remove quotes from a String in Python - Python
- Display full website URL/address in Safari macOS Browser - MacOS
- SharePoint workflow Canceled - Coercion Failed: Unable to transform the input lookup data into the requested type - SharePoint
- What does apt-get update command does? - Linux
- Python Comments Multiple Lines - Python
- How to Send or Publish SNS Message using AWS CLI - AWS