.net – IIS cant create a .net 3.5 app pool

iisnet

I'm trying to host a .net 3.5 website on my server.

I installed the 3.5 role and restarted the server and restarted.

I still can't create an app pool with .net 3.5.

It's IIS7 server 2008.

Best Answer

You can't select 3.5 as a version in IIS. Only 2.0 and 4.0. Not sure if 1.1 will work in IIS 7. If you want to publish a 3.5 site, select 2.0 as the app pool .net runtime.

3.5 lies on top of 2.0.

Update If you would like to install the .NET 4 runtime in IIS. First just install the runtime and after that run the following command:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i

This will register the v4 runtime in IIS.