Where’s the ASP.NET 4.0

.net-4.0asp.netiis-7net

I have installed .NET 4.0 to a Windows Server 2008.
I have run aspnet_regiis -i.

But with my new site on IIS7 I can't seem to select v4.0 as the framework.
I see 2 new app pools ASP.NET 4.0 and Classic 4.0
but surely all apps don't share the same v4.0 app pool right? What am I missing?

Best Answer

Is the server x64?

In this case, you should run aspnet_regiis.exe from the C:\Windows\Microsoft.NET\Framework64\v4.0.30319 folder, not from C:\Windows\Microsoft.NET\Framework\v4.0.30319.