Error installing dotnet framework 3.5 SP1 on windows 2008

dotnet-frameworkwindows-server-2008

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.

Best Answer

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.