500 Internal Server Error when accessing the root folder

This post has been republished via RSS; it originally appeared at: IIS Support Blog articles.

In a case I worked on, the page was displaying "The page cannot be displayed because an internal server error has occured" error if the user accesses the root folder of the application. There were no issues if they enter the full path.

 

Failed Request Tracing log:

“Either a required impersonation level was not provided, or the provided impersonation level is invalid (0x80070542)”

 

 

This error occurs if the service account doesn’t have “Impersonate a client after authentication” Permission.

 

Follow to steps below to solve this issue:

  1. Go to Start > Settings > Control Panel > Administrative Tools > Local Security Policies
  2. Expand Local Policies and select User Rights Assignment
  3. In the right pane, double-click Impersonate a client after authentication
  4. In the Security Policy Setting dialog box, click Add User or Group
  5. In the Select Users, Computers or Groups dialog box, type IIS_IUSRS
  6. Select Check Names and verify that the name is correct

REMEMBER: these articles are REPUBLISHED. Your best bet to get a reply is to follow the link at the top of the post to the ORIGINAL post! BUT you're more than welcome to start discussions here:

This site uses Akismet to reduce spam. Learn how your comment data is processed.