Blog Post

IIS Support Blog
1 MIN READ

500 Internal Server Error when accessing the root folder

Nedim's avatar
Nedim
Former Employee
Jun 22, 2020

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
Published Jun 22, 2020
Version 1.0
No CommentsBe the first to comment