Error installing dotnet framework 3.5 SP1 on windows 2008

25,569

Solution 1

Normally you just need to make sure that you have .NET installed and then Windows Update will lead you through all of the update. However I've run into failures like yours on about 1 in 50 servers, so the trick is to figure out the best path to navigate for your situation.

You're on the right path. Here's what I suggest:

For the WS08 server, I would uninstall the .NET Framework completely and then build back up again. To do so, use Add/Remote programs to uninstall any of the service packs that you see there. Then from Server Manager go to -> Roles -> Web Server (IIS) -> Remove Role Services -> and remove "ASP.NET" and ".NET Extensibility" (and accept the prompt to remove dependencies). After that completes, perform a reboot if it asks for one.

Then, from Server Manager again, add a role service and add those back again. Then use Windows Update, but step through the service packs in order. Don't assume that the cumulative installs will work since you already know that you're a fringe case.

For the Vista computer, if you haven't already, I suggest the Windows Update path there too. If that dead-ends, then start here: http://www.microsoft.com/net/Download.aspx. Make sure that you do have .NET 2.0 installed. (just check c:\windows\microsoft.net\framework\v2.0.50727 and make sure it has the full set of files.).

Then install 3.5 (not SP1 yet): http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en

Finally 3.5 SP1: http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7&displaylang=en

Hope that helps.

Solution 2

THe .Net features aren't enabled in a fresh install of win2008, it has to be enabled. Run the following:

servermanagercmd -i NET-Framework-Core

To enable .Net framework. Then, run windows update again.

Solution 3

To add to what Trondh already said:

Rightclick "my computer" -> Manage click on "Features" In the right pane click on "Add Features" Check the .NET Framework 3.5.1 Features

and follow the wizard to install the framework

Solution 4

.NET Framework 2.0 and 3.0 are included in Windows Server 2008, you don't need Windows Update to get them; 3.5 should instead be installed, manually or via Windows Update, because it doesn't come with the Windows setup.

Try turning on .NET-related features in Windows...

Solution 5

I don't think Windows Update automatically installs .NET. I would try installing .NET Framework 2.0SP1 going by your error message.

Share:
25,569

Related videos on Youtube

Shiraz Bhaiji
Author by

Shiraz Bhaiji

Architect / dev lead / .net programmer Manager at Evry http://www.evry.no/ Board Member Oslo Software Architecture http://www.meetup.com/Oslo-Software-Architecture/

Updated on September 17, 2022

Comments

  • Shiraz Bhaiji
    Shiraz Bhaiji almost 2 years

    Getting a really wierd error.

    One of the developers tried to install Windows 2008 as a Virtual PC. He has also run windows update.

    When he tries to install dotnet framework 3.5 SP1 he gets the following error:

    [09/25/09,12:48:26] Microsoft .NET Framework 2.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 2.0SP1 (CBS). MSI returned error code 1 [09/25/09,12:48:34] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0SP1 (CBS) is not installed.

    I though that dotnet framework was installed automatically with windows update on windows 2008. So how could it be missing?

    Thanks.

    Shiraz

    EDIT

    We also have the same problem on a VPC that had dotnet framework 3.5 installed and working OK.

    I have tried removing all versions of dotnet framework, using the following clean up tool: http://blogs.msdn.com/astebner/pages/8904493.aspx

    I then downloaded and tried to install dotnet framework 2.0 SP1, from this location: http://www.microsoft.com/Downloads/details.aspx?familyid=79BC3B77-E02C-4AD3-AACF-A7633F706BA5&displaylang=en

    The error I now get is:

    "This product is not supported on the Vista Operating System"

    EDIT

    Thanks for the help, have given an up vote to everyone.

    In the end our problem was that we had installed Windows Server 2008 from an older ISO image, on this everything worked fine untill we tried to install framework 3.5 SP1. We reinstalled Windows from a new image, and it worked OK.

  • Powerlord
    Powerlord over 14 years
    As a side note, Windows Server 2008 R2 (based on Windows 7) will also include .NET 3.5 SP1.
  • Stoph
    Stoph over 14 years
    The update is indeed optional, but it would be the preferred way to install it unless you know what you are doing.