Search code examples
.netiis-7.net-framework-version

How to set new sites in IIS 7.5 to be .NET 4 by default


I just reinstalled Windows 7 and IIS is creating new .NET 2.0 sites by default. At one point I had it set to create .NET 4.0 sites by default - how do I set that up again?


Solution

    1. Select the root element in the tree on the left – it contains the name of the server.

    2. Click on the "Change .NET Framework Version" link on the right panel. You will now see the "Change .NET Framework Version" dialog.

    3. Select the .NET 4.0 framework from the drop down list.

    4. Click "OK"