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
- Open Command Prompt
- Change directory as follows:
- 32-bit: <WindowsDir>\Microsoft.NET\Framework\<version number>\
- 64-bit: <WindowsDir>\Microsoft.NET\Framework64\<version number>\
- Run the following command:
- aspnet_regiis.exe -i
- IIS 6
- Click Start > Administrative Tools > Internet Information Services (IIS) Manager
- Expand the machine node > select Web Service Extensions
- On the right hand pane, right click ASP.NET v4.x.xxxxx
- Click the Allow button
- IIS 7
- Click Start > Administrative Tools > Internet Information Services (IIS) Manager
- 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
Microsoft Windows Server 2012 or newer
- From Programs, right click Command Prompt
- Select Run as Administrator
- Execute the following command: dism /online /enable-feature /featurename:IIS-ASPNET45
or
- Start the Server Manager
- Enable "IIS-ASPNET45" under "Web Server (IIS) > Web Server > Application Development > ASP.NET 4.5
Related Articles
These articles are listed by Microsoft.