How to Install ASP.NET 4.5 in Windows 8

In this article we are explaining how to install ASP.NET 4.5 on Windows 8.

Introduction

In this article we are explaining how to install ASP.NET 4.5 on Windows 8. In previous versions of Microsoft Windows running Internet Information Services, the "aspnet_regiis -I" command could be used to install the ASP.NET feature. In Windows 8 however, when you try to install ASP.NET 4.5 using "aspnet_reg -I" then this command does not work and instead shows an error indicating that this option is not supported on this version of the operating system.

The "Aspnet_regiis.exe" utility is no longer used for installing and uninstalling ASP.NET 4.5 on Windows 8. ASP.NET 4.5 is now a Windows component and can be installed and uninstalled just like any other Windows component. When you try to install ASP.NET 4.5 using "aspnet_regiis -I" then the following error is shown:

Run-Command-Windows8.jpg

How to install ASP.NET 4.5 in Windows 8

Method 1

Step 1

Open a command prompt as administrator and write the following command and press Enter.

dism /online /enable-feature /featurename:IIS-ASPNET45

Type-Commad-Windows8.jpg

Step 2

After ASP.NET 4.5 has been installed on Windows 8, an installation complete message will be shown.

IIS-In-windows8.jpg

Method 2

Step 1

Go to the search box and type "Turn windows feature on or off" and go to settings and click on the application that appears in the results window.

Search-In-Windows8.jpg

Step 2

In the Windows Features window turn on "IIS-ASPNET45" in "Turn Windows Features On or Off" under "Internet Information Services" > "World Wide Web Services" > "Application Development Features" > "ASP.NET 4.5" then click on "OK" to install the feature. After the feature installation, restart your system.

 Enable-Feature-Windows8.jpg