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 Troubleshooting
Upon 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.
- Get-ADUser PowerShell - Get AD user details using email address
- SharePoint error cannot connect to the configuration database
- SharePoint - Use Today's Date Time in list view filter and calculated column
- Not receiving email notification alert in SharePoint Online workflow - Power Automate, FLOW
- How to configure PDF iFilter for SharePoint
- Deploy SharePoint wsp solution package using PowerShell
- How to enable anonymous public access for SharePoint Online site collection, file, folder without login ?
- How to enable missing SharePoint Site Assets, Site Pages library App
- Fix Power BI 404 not found error when connecting SharePoint Online List as Data Source
- Send Email with attachment using SharePoint PowerShell, SMTP server
- How to recover SharePoint FARM if the SQL Server IP changes
- 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.
- SharePoint list excel import error - Title is a required filed and can't be empty
- Show Hide SharePoint column in List Library form with the conditional formula
- How to create classic site in SharePoint Online
- SharePoint 2010 DataForm Unable to display this Web Part System.StackOverflowException
- Trigger Flow on selected Listitem from SharePoint view - create button with JSON column formatting
- SharePoint Server 2016 error Microsoft Office Online Server 2016 cant be installed on the same machine as a Microsoft SharePoint Server product
- How to get SharePoint List Item URL using PowerShell
- Sign in as different user missing in SharePoint 2013, how to enable
- Fix error The tool was unable to install the Web Server (IIS) Role during SharePoint 2019 Setup
- How to redirect SharePoint Site Collection to different URL
- SharePoint Server 2016 setup error - A system restart from a previous installation or update is pending. Restart your computer and run setup to continue.
- See actual SharePoint error exception modify web.config
- SharePoint PowerShell Merge-SPLogFile filter by time using StartTime EndTime
- How to zoom-in or zoom-out in Windows Notepad - NotepadPlusPlus
- Safari appends .html extension to files that are downloaded - Mac-OS-X
- Drag drop files here option missing for SharePoint document library - SharePoint
- JSON column formatting to preview SharePoint Online file on mouse hover - SharePoint
- import servlet API to eclipse project (javax.servlet cannot be resolved error) - Java
- Unable to edit file in Notepad++ - NotepadPlusPlus
- No connection available Use Connect-SPOService before running this CmdLet - SharePoint
- list of jars required for hibernate 4.x.x - Java
- Android Studio : Implement abstract methods shortcut - Android-Studio
- MySQL : Error :1004 SQLSTATE: HY000 (ER_CANT_CREATE_FILE) Can't create file - MySQL
- Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end users experience - Java
- Move Copy Migrate SharePoint OneDrive files folders to different site collection location - SharePoint
- How to destroy PHP session() - PHP
- Fix Power Automate FLOW error - InvalidTemplate Unable to process template language expressions in action - Microsoft
- [jQuery] Uncaught ReferenceError: $ is not defined at index.html:5 - jQuery
- error: file not found: HelloWorld.java - Java
- JBoss stuck loading JBAS015899: AS 7.1.1.Final Brontes starting - Java
- PowerShell git: The term git is not recognized as the name of a cmdlet - Microsoft