You must use the Role Management Tool to install or configure Microsoft .NET Framework 3.5.

You must use the Role Management Tool to install or configure Microsoft .NET Framework 3.5.

Rate This
  • Comments 64

While trying to install Visual Studio 2008 on a Windows 2008 R2 machine you may get the following error.

You must use the Role Management Tool to install or configure Microsoft .NET Framework 3.5.

This is because Windows 2008 R2 ships with the .NET 3.5.1 framework. You just need to enable the feature from Server Manager.

vs2k8win2k8r2sm

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.

Bookmark and Share

Leave a Comment
  • Please add 6 and 1 and type the answer here:
  • Post
  • 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.

  • Thanks for your help. good source!

  • 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

    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] .NET Environment failed. Attempt to install .

    NET Environment 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] Process Model failed. Attempt to install Proc

    ess Model 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 [Application Server] .NET Framework 3.5.1 failed. Installation failed because a re

    quired role service or feature could not be installed.

    At line:1 char:19

    + Add-WindowsFeature <<<<  AS-NET-Framework

       + CategoryInfo          : OperationStopped: (:) [Add-WindowsFeature], Exception

       + FullyQualifiedErrorId : FeatureMessageDetail,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand

  • 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!

Page 1 of 5 (64 items) 12345