How to Enable ASP.NET in IIS

This article explains how to enable ASP.NET in IIS on Windows. Open Server Manager and use 'Add Roles and Features' to select your server, then under Web Server → Application Development enable ASP and the required ASP.NET versions with their ISAPI features, and add the corresponding .NET Framework features. Finally, review the summary, click Install, and wait for completion — after which ASP.NET is enabled.

Why Enable ASP.NET?

  • Web Hosting: Required for hosting ASP.NET applications.
  • Compatibility: Different websites may depend on older versions (e.g., 3.5) or newer versions (4.0/4.5).
  • IIS Integration: ASP.NET features integrate directly with Internet Information Services (IIS).

Steps to Enable ASP.NET on Windows

Step 1: Open Server Manager

  1. Log in with Administrator privileges.
  2. Launch Server Manager from the Start Menu or taskbar.
    Click “Server Manager”
  3. Click Add Roles and Features.
    Click “Add roles and features”

Step 2: Choose Installation Type

  1. In the wizard, under Installation Type, select Role-based or feature-based installation.
  2. Click Next.
    Click “Add roles and features”

Step 3: Select Server

  1. Under Server Selection, choose Select a server from the server pool.
  2. Highlight your server → click Next.
    Click “Add roles and features”

Step 4: Add Server Roles

  1. Expand Web Server.
  2. Under Application Development, check the following:
    • ASP
    • ASP.NET 3.5
    • ASP.NET 4.5
    • Related sub-features (ISAPI Extensions, ISAPI Filters).
  3. Click Next.
    Click “Add roles and features”

Step 5: Add Features

  1. Under Features, select:
    • .NET Framework 3.5 Features
    • .NET Framework 4.5 Features
    • Ensure ASP.NET 4.5 is checked.

Click “Add roles and features”
2. Under Windows Process Activation Service, enable .NET Environment.
Click “Add roles and features”
3. Click Next.

Step 6: Confirm and Install

  1. Review the summary of selected roles and features.
  2. Click Install.
  3. Wait until installation completes, then click Close.
    Click “Add roles and features”
    ASP.NET 3.5, 4.0, and 4.5 are now enabled.
    ASP.NET3.5, 4.0, 4.5 is Successfully Enabled

Troubleshooting Tips

  • If installation fails, ensure Windows Server has access to Windows Update (needed for .NET Framework 3.5).
  • Check Server Manager → Manage → Add Roles and Features again to verify selections.
Keywords:

enable asp net, enable asp net in iis, iis, asp net

Last Updated:   11/13/2026
Outline