Start a conversation

Registering ASP.NET with IIS Web Server

Overview

When using a web-based configuration, such as GFI Archiver, you need to register and enable ASP.NET with IIS® Web Server. If ASP.NET is not registered and enabled, the following may occur:

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

Environment

  • GFI MailEssentials
  • GFI Archiver

Process

If the Microsoft® .NET framework is installed after IIS is installed, this is automatically registered. Else, register ASP.NET® with IIS® by following these steps:

Registering ASP.NET With IIS in Microsoft Windows Server 2016/2012

  1. Start the Server Manager.
  2. Navigate to Manage > Add Roles and Feature > Server Roles
  3. Navigate to Web Server (IIS) > Web Server > Application Development
  4. For Windows Server 2016 enable ASP.NET 4.6.
    For Windows Server 2012 enable ASP.NET 4.5.

Note: You can also open an elevated command prompt and execute the following command: dism /online /enable-feature /featurename:IIS-ASPNET45

Registering ASP.Net With IIS in Microsoft Windows Server 2008 / 2008 R2

  1. From the command prompt, navigate to:
    • 32-bit: <WindowsDir>\Microsoft.NET\Framework\<version number>\ 
    • 64-bit: <WindowsDir>\Microsoft.NET\Framework64\<version number>\ 
      NOTE: Replace <v4.0.xxxxx> with the folder name of Microsoft® .NET Framework version number.
      For example: C:\Windows\Microsoft.NET\Framework\v4.0.30319\ s16.png
  2. Type aspnet_regiis.exe -i and press Enter.

Enabling ASP.Net® From IIS®

NOTE: Ensure that ASP.NET® is allowed by Internet Information Services (IIS®) Manager.

  1. Click Start > Administrative Tools > Internet Information Services (IIS) Manager
  2. For IIS 6:
    1. Expand the machine node and select Web Service Extensions
    2. On the right-hand pane, right-click ASP.NET v4.x.xxxxx
    3. Click the Allow button
    For IIS 7:
    1. Select the local computer node and from the Features View pane launch ISAPI and CGI Restrictions
    2. In the Features View pane, right-click ASP.NET v4.x.xxxxx and select Allow

Note: Find more information on Installing ASP.NET 4.5 on Windows 8 and Windows Server 2012.

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

  2. Posted
  3. Updated

Comments