Start a conversation

How can I register ASP.NET with my IIS Web Server?

Overview

This article details the process for registering ASP.NET with your IIS Web Server.  

 

 

Diagnosis

 

In order for GFI products using a web based configuration to work, ASP.NET needs to be registered with your IIS Web Server. If ASP.NET is not registered, the following may occur: 
 

  • HTML code is displayed in the browser
  • A blank page is returned to the browser
  • You may receive instructions to download the aspx page

 

Solution


Please follow the procedure below to register ASP.NET: 

Microsoft Windows Server2008 R2 

  1. Open Command Prompt
  2. Change directory as follows:
    • 32-bit: <WindowsDir>\Microsoft.NET\Framework\<version number>\ 
    • 64-bit: <WindowsDir>\Microsoft.NET\Framework64\<version number>\ 
  3. Run the following command:
    • aspnet_regiis.exe -i
  4. ​IIS 6
    1. Click Start > Administrative Tools > Internet Information Services (IIS) Manager
    2. Expand the machine node > select Web Service Extensions
    3. On the right hand pane, right click ASP.NET v4.x.xxxxx
    4. Click the Allow button
  5. IIS 7
    1. Click Start > Administrative Tools > Internet Information Services (IIS) Manager
    2. Select the local computer node and from the Features View pane launch ISAPI and CGI Restrictions
    3. In the Features View pane, right click ASP.NET v4.x.xxxxx and select Allow



Microsoft Windows Server 2012 or newer

  1. From Programs, right click Command Prompt
  2. Select Run as Administrator
  3. Execute the following command: dism /online /enable-feature /featurename:IIS-ASPNET45
or 
  1. Start the Server Manager
  2. Enable "IIS-ASPNET45" under "Web Server (IIS) > Web Server > Application Development > ASP.NET 4.5



Related Articles

These articles are listed by Microsoft.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments