While trying to install Visual Studio 2008 on a Windows 2008 R2 machine you may get the following error.
This is because Windows 2008 R2 ships with the .NET 3.5.1 framework. You just need to enable the feature from Server Manager.
So before starting the Visual Studio 2008 Setup install the .NET Framework 3.5.1 Features from the Add Features Wizard in Server Manager.
After that when you run the Visual Studio 2008 Setup, the installer will detect that the 3.5 framework is already installed and skip to the next step.
Excellent assistance with this one
You can also use powershell cmdlets to install .NET 3.5.1
import-module ServerManager
Get-command -module ServerManager
CommandType Name
----------- ----
Cmdlet Add-WindowsFeature
Cmdlet Get-WindowsFeature
Cmdlet Remove-WindowsFeature
Get-WindowsFeature *NET*
Add-WindowsFeature AS-NET-Framework
Cool!
I'm confused by this error message for about half hour...
Another command you can use (without PowerShell) to install .NET 3.5 SP1 on Server 2008 R2 is this:
%windir%\system32\ocsetup.exe NetFx3
does anyone else get annoyed by the guy in the photo above when you're installing visual studio?
thanks for the good instructions!
Thank you for the helpful instructions
@justin
I nearly felt offended by the way that guy looks at me.
They should include that one little bit of information that it is in Features with the error message. Don't want to make it too easy I guess.
Thanks for your help. good source!
Muchas gracias! de gran ayuda!..saludos
i got this url on single click. quite helpful.
Using cmdlet command to install .NET 3.5, I got this errors:
PS U:\> Add-WindowsFeature AS-NET-Framework
Add-WindowsFeature : Installation of [.NET Framework 3.5.1 Features] .NET Framework 3.5.1 failed. Attempt to install .N
ET Framework 3.5.1 failed with error code 0x80070643. Fatal error during installation
At line:1 char:19
+ Add-WindowsFeature <<<< AS-NET-Framework
+ CategoryInfo : OperationStopped: (:) [Add-WindowsFeature], Exception
+ FullyQualifiedErrorId : FeatureMessageDetail,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand
Add-WindowsFeature : Installation of [Windows Process Activation Service] Configuration APIs failed. Attempt to install
Configuration APIs failed with error code 0x80070643. Fatal error during installation
Add-WindowsFeature : Installation of [Windows Process Activation Service] .NET Environment failed. Attempt to install .
NET Environment failed with error code 0x80070643. Fatal error during installation
Add-WindowsFeature : Installation of [Windows Process Activation Service] Process Model failed. Attempt to install Proc
ess Model failed with error code 0x80070643. Fatal error during installation
Add-WindowsFeature : Installation of [Application Server] .NET Framework 3.5.1 failed. Installation failed because a re
quired role service or feature could not be installed.
Thanks for the info. I'm trying to install Forefront TMG and ran into this error right at the start of setup. Once I install .NET 3.5 the install ran fine.
It never ceases to amaze me how an enterprise like Microsoft, can't get it's own products right, why isn't this a normal part of the installation prerequisites? It's like starting a Rolls Royce with battery support from the lawnmower. And it's a very cryptic message, it's a feature, not a role!