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.
- Move Copy Migrate SharePoint OneDrive files folders to different site collection location
- How to generate client id and secret to register SharePoint App with OAuth
- How to share SharePoint site or document with all users in organization
- Get-ADUser PowerShell - Get AD user details using email address
- error CAML Query containing special characters
- Access URL for SharePoint Tenant Admin Center (Online Office 365)
- Fix SharePoint Error - The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started
- SharePoint - The URL is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
- How to delete SharePoint List Item programmatically using C#.Net
- How to Share Microsoft SharePoint Site with Users or Groups
- JSON column formatting to preview SharePoint Online file on mouse hover
- SharePoint List redirect user after submitting form NewForm.aspx
- See actual SharePoint error exception modify web.config
- SharePoint Server 2016 IT Preview Deprecated Removed features
- How to create SharePoint Document Library
- How to Get or Set SharePoint Document ID _dlc_DocId using PowerShell
- How to disable SharePoint subsite creation option for owners
- PowerShell - How to use Try Catch Finally blocks for error exception handling (Windows/SharePoint)
- SharePoint error - Your organization doesn't allow sharing with users from this domain. Please contact your IT department for help. (OSE403)
- [Solved] SharePoint Search Internal server error exception
- How to wrap column text in SharePoint Online Modern List Grid View using JSON formatting
- How to extend retiring SharePoint 2010 Workflows and continue with Office 365
- Changed AD user display name showing old name in SharePoint
- How to hide or remove quick launch left navigation from SharePoint Online Modern site page
- How to enable anonymous public access for SharePoint Online site collection, file, folder without login ?
- [Ubuntu] Search a package and versions using apt command - Linux
- List of Code Snippets/Templates to Eclipse IDE - Eclipse
- Unsupported major.minor version 52.0 in java - Java
- macOS Ventura: In order to use Xcode.app you need to update to the latest version - MacOS
- [IRCTC] Indian railways official eRail API 1.1 for developers to get train info - HowTos
- Java equals method - Tutorial - Java
- How to turn off AirPods Nearyby notifications on macOS Big Sur? - Apple
- Calculate Sum of List elements using Java Streams - Java