Posted on 1:49 AM by Softminer and filed under

Usually when you install .net framework 4 you have following application pool:

ASP.NET v4.0
ASP.NET v4.0 Classic

if you have already .net framework 4 and you don't see application pool do the following steps:

Open your command prompt as administrator
Type cd C:\Windows\Microsoft.NET\Framework\v4.0.30319\ and press ENTER.
Type aspnet_regiis.exe -ir and press ENTER again.
If this is a fresh version of IIS (no other sites running on it) or you're not worried about the hosted sites breaking with a framework change you can use -i instead of -ir.
You should now see ASP.NET v4.0 listed

Responses to ... How to add ASP.NET 4.0 as Application Pool on IIS 7, Windows 7