IIS 404 The page cannot be displayed because an internal server error has occurred

1. allow physical paths in the ApplicationHost. Configuration File

By default, this file is located in %SystemRoot%\system32\inetsrv\config.

Find this file and edit it.

Search for section < httperror…than;

Then add the command allowAbsolutePathsWhenDelegated=”true”, as follows:

<httpErrors lockAttributes="allowAbsolutePathsWhenDelegated,defaultPath" allowAbsolutePathsWhenDelegated="true">
   ....
   ....
</httpErrors>

 

Read More: