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
- Start the Server Manager.
- Navigate to Manage > Add Roles and Feature > Server Roles
- Navigate to Web Server (IIS) > Web Server > Application Development
- 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
- 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\
- 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.
- Click Start > Administrative Tools > Internet Information Services (IIS) Manager
- For IIS 6:
- Expand the machine node and select Web Service Extensions
- On the right-hand pane, right-click ASP.NET v4.x.xxxxx
- Click the Allow button
- Select the local computer node and from the Features View pane launch ISAPI and CGI Restrictions
- 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.