P_G comment is correct. If this check box is selected and .net45 is later installed, it installs these functions.
I wanted to enable it for .net45, first of all, to fix the <system.serviceModel> error, which is not defined, which occurs if WCF activation services are not running.
I also noticed that powershell continues to raise the above error when using Set-WebConfigurationProperty This is because powershell in server 2008 tries to parse web.config from the context of .net 2.0 (.net 3.5 and 3.0. With .net 2.0 - c:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.config ) and crash - because at this point the system.serviceModel is not defined there.
However, the application works just fine because the IIS website uses ( c:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config ) and it is defined there.
Checking that the checkbox also defines the section in c:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.config - so that PowerShell can now also analyze the properties of web.config and set-iis.
Zasz Jan 04 '14 at 9:47 a.m. 2014-01-04 09:47
source share