Resolving the 403.14 error for ASP.NET on Windows Server 2016

Here's the solution that worked for me:

Many people suggested running the following command to register ASP.NET on the machine:

%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir

It turns out that in Windows Server 2016, you need to go to the Add Roles and Features Wizard to do this (search for "turn windows features on or off" in the Windows search). In the wizard, click Next until you get to the Server Roles page. Scroll down and open the following node:

Web Server (IIS) > Web Server > Application Development

Put a checkmark next to "ASP.NET 4.6" and click Next, and follow the prompts to install it.

enter image description here

After installing ASP.NET 4.6 I found that the 403.14 issue was resolved.