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

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

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

Installing the .Internet Framework

The very start matter yous need to do is download and install the necessary .Net Framework on your organization.

Wait for the aspnet_regiis.exe file

Once the .Internet Framework is installed, you tin wait for the aspnet_regiis.exe file for registering the .Net Framework in IIS server.

If your windows is installed in C drive you 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 Scrap

C:\Windows\Microsoft.Cyberspace\Framework64

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

At present based on whether your Organization is 32 Chip or 64 BIT and the .Net Framework version yous desire to register, y'all demand to go into the .Net Framework Folder.

In my case 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.Net\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 you demand to first command prompt past typing cmd at the Run command and then execute the command prompt with Administrator rights by correct clicking and choosing Run as ambassador from the context menu.

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

And then on the command prompt you need to navigate to the Directory that has the aspnet_regiis.exe file for that you need to type

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

And then y'all need to type the post-obit control and hitting enter to register ASP.Net with IIS.

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

In one case the ASP.Net is installed in IIS, you volition encounter ASP.Net 4.0 Awarding pools in the IIS server

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

That's it and you are done with registering the ASP.Internet with IIS. Here I accept shown you how to register .Cyberspace Framework version 4.0 in like fashion you lot tin can annals other versions.