16

I'm having an issue in IIS 7.5 where the ASP.NET feature section isn't showing on my web application.

My environment: Windows 2008 R2 SP1, IIS 7.5 (7.5.7600), .NET Framework 4.0

My issue is similar to the issue posted here: No asp.net features on IIS 7.5, only my environment is different. The 'add features' fix mentioned in that post doesn't appear to work in Windows Server 2008, as I'm not seeing a simple "ASP.NET" feature that can be selected.

I tried running the aspnet_regiis tool as administrator against .NET 4.0 with no luck. The application pool selected for the web application is currently configured to use .NET 4.0. This application is functional, so I'm assuming that .NET 4.0 is installed correctly, but I'd like to be able to configure a few more things that are in the ASP.NET section.

Community
  • 1
  • 1
rag9
  • 484
  • 1
  • 5
  • 17
  • 1
    Have you run `aspnet_regiis.exe` from the .NET 4.0 framework folder? – Oded Aug 09 '12 at 20:03
  • 2
    The ASP.Net feature set is under Internet Information Services > Word Wide Web Services > Application Development Features > ASP.NET – Stefan H Aug 09 '12 at 20:05
  • @StefanH This might be a stupid question, but how do I access that feature set. When selecting "Control Panel" -> "Turn Windows features on or off", it takes me to the Server Manager. Then when I select "Add Features" in Server Manager, I'm not seeing anything like "Internet Information Services" or "ASP.NET". – rag9 Aug 09 '12 at 20:10
  • @Oded Yes, tried that, but it didn't seem to make a difference. – rag9 Aug 09 '12 at 20:11
  • 2
    Try Roles > Right Click Web Server (IIS) > Add Role Services > Application Development... – Stefan H Aug 09 '12 at 20:16
  • @StefanH That's exactly what I needed! I ran that and the ASP.NET features now show. Thank you! – rag9 Aug 09 '12 at 20:35

3 Answers3

22

Try Roles > Right Click Web Server (IIS) > Add Role Services > Application Development to turn on the ASP.Net features in IIS

Stefan H
  • 6,635
  • 4
  • 24
  • 35
17

The UI is a bit different in the newer versions of Windows Server. Here is where you have to enable ASP.Net in order to get it working on IIS

How To Fix IIS ASP.Net Errors

2

The same issue but in a developer machine it may solve:

Windows Features - Internet Information Services - World Wide Web Services - Application Development Features - ASP.NET 3.5 + ASP.NET 4.8

enter image description here

dgolive
  • 425
  • 3
  • 8