Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing asp.net features on IIS 10.0

I'm using IIS 10.0 and ASP.NET feature section isn't showing

My environment: Windows Server 2016

My issue is similar to the issue posted here: No asp.net features on IIS 7.5 and No ASP.NET features shown in IIS 7.5

The 'add features' fix mentioned in those posts doesn't apply as it was already correctly configured that (see image)

windows server 2016 iis 10.0 missing asp.net section

like image 273
Tom McDonald Avatar asked Oct 18 '17 13:10

Tom McDonald


People also ask

How do I enable Classic ASP in IIS 10?

Normally, the iis version in windows 10 is iis10, you can follow below steps to enable classic asp in iis. Search for Turn Windows Features on or off in the win10 search bar. Expand Internet Information Services, then World Wide Web Services, then Application Development Features. Select ASP, and then click OK.

How do I install ASP.NET on Windows 10?

In Control Panel, click Programs, and then click Turn Windows features on or off. In the Windows Features dialog box, click Internet Information Services to install the default features. Expand the Application Development Features node and click ASP.NET 4.5 to add the features that support ASP.NET. (If you installed .

What are the new features in IIS 10?

IIS 10.0 adds a new, simplified PowerShell module for managing IIS which scales better and offers superior pipelining support than existing WebAdministration cmdlets. The new module gives you direct access to the ServerManager object allowing for greater control over the configuration system.


3 Answers

From the Screenshots in the OPs questions I deduced that mine simply weren't selected in the server roles section of the server administrator. For clarity I added these:

"Add roles and features" 
    -> "Server Roles"     
       -> "Web Server (iis)" 
          -> "Web Server" 
             -> "Application Development" 
                -> "ASP.NET 4.6" (I also needed 3.5 for legacy reasons)

Then restart IIS manager (just close the window and reopen it)

like image 76
Morvael Avatar answered Oct 22 '22 15:10

Morvael


We applied updates to the server, rebooted and then this bug went away. Magically the asp.net section appeared.

like image 1
Tom McDonald Avatar answered Oct 22 '22 17:10

Tom McDonald


I had the same scenario as the OP, but I hadn't restarted IIS manager. When I closed and reopened IIS, the ASP.NET section was present

like image 1
Adam Hey Avatar answered Oct 22 '22 15:10

Adam Hey