I'm standing up a new Windows 2008 R2 Web Server. I've checked the application pool in IIS 7.5, and found that .NET 2.0 is available, but not 3.5 or 4.0. I would have thought that 2008 R2 would have come at least with 3.5 and possibly 4.0. Am I wrong about that?
If I have to install 3.5 and 4.0 on this server, where do I get them? (I'm assuming that it isn't necessarily the same place as client machines get .NET 3.5 and 4.0.)
For 3.5 with SP1 open an elevated command prompt and copy this line:
for 4.0: download a the package from Microsoft and the execute it.
If you do this on Server core, you need to enable different features and download a special version of dot.NET 4 for Server core.
You need to open up Server Manager, then select Add Features, expand .Net Framework 3.5.1 Features and then Tick the box .NET Framework 3.5.1, then follow the wizard.
With .Net 4.0 or later, you will need to download a stand alone and use this.