Registering ASP.NET on IIS 7.0

To register ASP.NET on operating systems running IISInternet Information Services 7.0, such as Windows 7 and Windows Server 2008 R2:

  1. Open Command Prompt and change the directory as follows:
  • <WindowsDir>\Microsoft.NET\Framework64\<version number>\
  1. Run the following command: aspnet_regiis.exe -i
  2. Go to Start > Administrative Tools > Internet Information ServicesA set of Internet-based services created by Microsoft Corporation for internet servers. (IIS) Manager.
  3. Select the local computer node and launch ISAPI and CGI Restrictions.
  4. Right click ASP.NET v4.x.xxxxx and select Allow.