If you open up Windows Server Manager, go to Roles and Features and then click on the IIS Web Server Role and make sure:

a) You have the IIS Web Server Role installed:

b) Make sure that the following features are enabled within the 'Internet Information Services'

b) You have the IIS Web Server - Application Development features enabled:

  • Application Development Features

    • .NET Extensibility 3.5
    • .NET Extensibility 4.7.2
    • ASP.NET 3.5
    • ASP.NET 4.7.2
    • ISAPI Extensions
    • ISAPI Filters

c) You have the following .NET Features installed:

    • Application Development Features

      • .NET Extensibility 3.5
      • .NET Extensibility 4.7.2
      • ASP.NET 3.5
      • ASP.NET 4.7.2
      • ISAPI Extensions
      • ISAPI Filters
    • Common HTTP Features

      • Default Document
      • Directory Browsing
      • HTTP Errors
      • HTTP Redirection
      • Static Content

Also, please check that the following features are enabled in the '.NET Framework 4.6 Advanced Services' folder:

Image

  • .NET Framework 4.6 Advanced Services

    • ASP.NET 4.6
    • WCF Services

      • HTTP Activation
      • TCP Port Sharing