SharePoint 2010 – ‘HTTP 500 Internal Server Error’ while trying to browse to a SharePoint site using Claims-based authentication {Event:8305}

Posted: June 12, 2011 in sharepoint

Users will receive an error ‘HTTP 500 Internal Server Error’ while trying to browse to a SharePoint site using Claims-based authentication.

The following error message under the event viewer on the SharePoint server

Log Name : Application
Source : Microsoft-SharePoint Products-SharePoint Foundation
Date : <Date and Time>
Event ID : 8305
Task Category : Claims Authentication
Level : Error
Keywords:
User : domain name\username
Computer : servername
Description :

An exception occurred when trying to establish endpoint for context: An error occurred loading a configuration file: Either a required impersonation level was not provided, or the provided impersonation level is invalid.

CAUSE:

The Application pool account was missing the “Impersonate a client after authentication” user right.

We can resolve this issue by following this

1. Go to Start – Administrative tools – Local Security Policy – Local Policies – User Right Assignments – Impersonate a client after authentication properties
2. Add the Application Pool account for the site which is not working
3. Reboot the server, so the changes can take effect
4. Browse the site and it should work fine
Comments
  1. Subhash says:

    Thanks for the post.
    This helped me in resolving my issue

  2. sunny says:

    well thanks for article but did not change a thing to me still 500 error

  3. sunny says:

    http://go.microsoft.com/fwlink/?LinkID=166231
    install this update it will work , worked for me fine !!!

  4. Kukutatu says:

    really helpful, thank you.

  5. bjorn80 says:

    Thank you sir, you gave me a hint of what was wrong on our solution.
    I had set the web.config appsettings element :

    That gave me the 500 error.
    The fix was setting it back to

    and restarting the server.

    And sorry i noticed that we have the same theme on our sharepoint sites lol, i didnt know anyone was using it, the theme is so cool šŸ˜€

    brgs

    Bjorn

Leave a comment