While working on one our machines we started getting the following error:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Config Error This configuration section cannot be used at this path.
The reason for this issue was that we were missing some IIS components as mentioned below:After installing them via "Turn Windows Feature ON/OFF" the issues was solved.