I'm facing "500 internal server error" issue frequently with all my SharePoint sites. I have configured tracing on IIS and getting below as a warning. The application pool recycles issue immediately but it occurs again.
IIS Trace -
ModuleName |
SPWindowsClaimsAuthentication |
Notification |
2 |
HttpStatus |
500 |
HttpReason |
Internal Server Error |
HttpSubStatus |
0 |
ErrorCode |
0 |
ConfigExceptionInfo |
|
Notification |
AUTHENTICATE_REQUEST |
ErrorCode |
The operation completed successfully. (0x0) |
EventViewer - An exception occurred when trying to establish endpoint for context: Could not load file or assembly 'Microsoft.IdentityModel.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca' or one of its dependencies. Provider
type not defined. (Exception from HRESULT: 0x80090017).
Please help..