0

I've been getting an 500 error everytime I tried to access the site. I've tried the solution posted in here but the SecurityTokenServiceApplicationPool is running normally. I also checked the event viewer and this is the error. Is there any way to fix this? I've tried creating another Site Collection and Web Application but still have the same results. Thanks

EDIT: I've fixed the problem by restarting the SharePoint Web Services Site in IIS. Thank you.

  • Can you check a couple of things? Is Named Pipes under SQL Server Network Configuration enabled? If not, enable it. Also grant the 'View Server State' permission to the account that the error is complaining about using the following commands: USE master GO GRANT VIEW SERVER STATE TO "Domain\Account" GO – Andy Dawson Jan 14 '17 at 10:06
  • @AndyDawson Hello, I've tried doing what you've suggested and still encountered same problem. After reading the ULS logs I've pinpointed that the problem stems from a broken Security Token Service configuration. I've tried using fixes from here and here but the site still gives me 500 internal server error. Thanks. – darthbadar Jan 16 '17 at 3:35
0

Had similar issue and it was recurring so you might hit this issue again, In my case this is happens due to the fact that STS identity is unloaded. By changing in STS Application Pool 'Load User Profile' property to true we managed to resolve it permanently.

Another way of resolving it was to change GPO: Computer Configuration->Administrative Templates->System-> UserProfiles Do not forcefully unload the user registry at user logoff

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.