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.
- Managed Metadata error - The data returned from the tagging UI was not formatted correctly
- How to generate client id and secret to register SharePoint App with OAuth
- Create SharePoint Site Collection with new Content database in existing web application
- Fix Error 2711 SQL RBS client - The installer has encountered an unexpected error. The specified Feature name ('Docs') not found in Feature table
- How to exclude results from SharePoint Search
- 'Edit Document' Requires a Windows Sharepoint Services-compatible application and Microsoft Internet Explorer 6.0 or higher
- [Solved] SharePoint Access Denied error editing Document Name
- Recommended size and resolution for SharePoint Online Site logo
- SharePoint Server 2016 IT Preview - new improved Features and Enhancements
- Restore deleted Office 365 SharePoint group site
- SharePoint An unexpected error has occurred - Correlation ID and PowerShell Merge-SPlogfile
- [Solved] SharePoint Search Internal server error exception
- SharePoint CAML query error - The XML source is not correct
- How to hide quick launch in SharePoint classic site
- Not receiving email notification alert in SharePoint Online workflow - Power Automate, FLOW
- Change SharePoint search results FullTextSqlQuery RowLimit 10000
- Fix Power BI error Access to the resource is forbidden when connecting SharePoint Online List as data source
- [Fix] Restricted View permission level missing in SharePoint Online site library
- How to upload file programmatically to SharePoint Document Library using Server Object Model C# .Net
- How to create classic site in SharePoint Online
- That did'nt work, Issue type User not in directory - SharePoint external access error
- Merge-SPlogfile PowerShell - SharePoint Correlation ID error
- Fix Power BI 404 not found error when connecting SharePoint Online List as Data Source
- SharePoint Server 2016 IT Preview Deprecated Removed features
- SharePoint error - An exception occurred when trying to issue security token: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms..
- Git Commit - Author identity unknown, Please tell me who you are email - Git
- 10 FTP SFTP Clients and Alternatives - FTP
- Make Android TextView Clickable like Buttons - Android
- W3 HTML validator warning Unable to Determine Parse Mode - Html
- SharePoint Server 2016 installation System Hardware requirements - SharePoint
- [Android Studio] Could not automatically detect an ADB binary - Android-Studio
- Failed to find provider info for com.facebook.katana.provider.PlatformProvider - Android
- How to Enable spellcheck Notepad++ - NotepadPlusPlus