Run the following command, which will install and register ASP.NET 4.5 in IIS:
dism /online /enable-feature /featurename:IIS-ASPNET45 /all
Run the following command, which will install and register ASP.NET 4.5 in IIS:
dism /online /enable-feature /featurename:IIS-ASPNET45 /all