kenwarner
kenwarner

Reputation: 29130

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?

Upvotes: 6

Views: 4247

Answers (2)

lau
lau

Reputation: 372

What worked for me was:

  1. Click on "Application Pools" in the tree on the left
  2. Click on "Set Application Pool Defaults..." on the right panel.
  3. Set the ".NET Framework Version" to v4.0

Upvotes: 4

Akhil
Akhil

Reputation: 7610

  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"

Upvotes: 12

Related Questions