In this article I will explain how to register ASP.Net with IIS i.e. installing the ASP.Cyberspace in IIS and so that ASP.Internet pages tin exist served from IIS server. If ASP.Net is non registered with IIS then when accessing ASP.Net Website you lot will get the following error. The page you are requesting cannot be served because of the extension configuration. If the folio is a script, add a handler. If the file should be downloaded, add a MIME map.

Once the ASP.Net is registered the IIS will show ASP.Net iv.0 Application pools.

Installing and registering ASP.Net with IIS and add ASP.Net 4.0 Application Pool in IIS

Installing the .Net Framework

The very first matter you need to do is download and install the necessary .Internet Framework on your system.

Await for the aspnet_regiis.exe file

Once the .Internet Framework is installed, y'all can look for the aspnet_regiis.exe file for registering the .Net Framework in IIS server.

If your windows is installed in C drive yous could find the aspnet_regiiis.exe at the following locations.

32 BIT

C:\Windows\Microsoft.Cyberspace

Installing and registering ASP.Net with IIS and add ASP.Net 4.0 Application Pool in IIS

64 BIT

C:\Windows\Microsoft.NET\Framework64

Installing and registering ASP.Net with IIS and add ASP.Net 4.0 Application Pool in IIS

Now based on whether your Organisation is 32 Flake or 64 Chip and the .Net Framework version you desire to register, you need to get into the .Net Framework Binder.

In my instance the Windows is 64 BIT and I need to register .Net Framework 4 I am looking for the aspnet_regiis.exe in the following location C:\Windows\Microsoft.Internet\Framework64\v4.0.30319\

Installing and registering ASP.Net with IIS and add ASP.Net 4.0 Application Pool in IIS

Registering the ASP.Net with IIS server

At present y'all demand to start command prompt by typing cmd at the Run command and so execute the command prompt with Administrator rights by right clicking and choosing Run as administrator from the context menu.

Installing and registering ASP.Net with IIS and add ASP.Net 4.0 Application Pool in IIS

Then on the control prompt you lot need to navigate to the Directory that has the aspnet_regiis.exe file for that you need to type

CD C:\Windows\Microsoft.Internet\Framework64\v4.0.30319\

So you demand to blazon the following control and hit enter to register ASP.Net with IIS.

Installing and registering ASP.Net with IIS and add ASP.Net 4.0 Application Pool in IIS

Once the ASP.Net is installed in IIS, you will see ASP.Net four.0 Application pools in the IIS server

Installing and registering ASP.Net with IIS and add ASP.Net 4.0 Application Pool in IIS

That'southward information technology and yous are done with registering the ASP.Net with IIS. Here I have shown yous how to register .Net Framework version 4.0 in similar manner yous tin register other versions.