Hello
Thank you for your question and reaching out. I can understand you are having query\issues related to SharePoint error 500
First of please reboot your Server and check if the issue resolved automatically. If still issue persists follow below steps which should help you to resolve the issue.
- Update passwords on IIS Application Pool identities. Make sure they are not stopped or Offline. Update the identity password for “SecurityTokenServiceApplicationPool ” application pool and start it.
- Try Running the SharePoint Configuration wizard again
- Make sure your SharePoint setup account is added under the Administrator group of the server.
- Make sure SQL services are running.
- Disable any Antivirus program or Windows firewall you may have for temporary purpose.
Reference :
--If the reply is helpful, please Upvote and Accept as answer--