Win2k12: Configure IIS8 for .NET 4.5 Web Sites
In versions prior to Windows 2012 the steps to getting a .net web application to work was:
- Add Windows Role IIS
- Include Feature .NET 3.5 or 4
- Run c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -I
However when you do this in 2012 the following error will be given:
Microsoft (R) ASP.NET RegIIS version 4.0.30319.17929 Administration utility to install and uninstall ASP.NET on the local machine. Copyright (C) Microsoft Corporation. All rights reserved. Start installing ASP.NET (4.0.30319.17929). This option is not supported on this version of the operating system. Administrators should instead install/uninstall ASP.NET 4.5 with IIS8 using the “Turn Windows Features On/Off” dialog, the Server Manager management tool, or the dism.exe command line tool. For more details please see http://go.microsoft.com/fwlink/?LinkID=216771. Finished installing ASP.NET (4.0.30319.17929).
This is a long worded way of saying that when you missed a checkbox when installing IIS. To correct this, re-launch the Add Role/Feature Wizard and navigate to the server role Web Server (IIS). Then expand down to “Application Development.”
Once there check the checkboxes for: .NET Extensibility 3.5 and/or 4.5 along with ASP.net 3.5 and/or 4.5. Finally click next until it installs and all should be good
Win8: How to Backup Folders The Right Way Win2k12: How to Use Active Directory Certificate Services