To install IIS:
Step 1: Navigate to Control Panel > Uninstall or change a program > Turn Windows Features on or off
Step 2: Choose Internet Information Services > Web Management Tools and World Wide Web Services
If we can’t run a aspx page and get this error “The page you are requesting cannot be served because of the extension configuration.”, normally because we install IIS after Visual Studio or .NET.
=> In Windows 8/10, you have to use Programs and Features, Turn Windows features on or off, IIS, World Wide Web Services, Application Development Features, and check the appropriate items, such as enabling ASP.NET. Also, check
.NET Framework 4.5 Advanced Services >
WCF Services >