You may receive the following error when trying to install Microsoft SQL Server 2008 on Windows 2008 Server R1 or R2. The error is raised regardless of you having .NET 3.5 SP1 installed or not.
Several solutions suggest that you reinstall .NET 3.5 SP1. However that doesn’t work when you have Microsoft .NET 4.0 or Microsoft .NET 3.51 installed (the latter not being equal to SP1).
Other solutions suggest that SQL Server 2008 setup is distributed with a corrupted dotnetfx35setup.exe and they suggest to download a fresh copy of this and placing it in the “redist” directory. While this certainly can be true is certain situations where .NET 3.5 SP1 or newer is not yet installed, in scenario’s where .NET 4.0 is already available, this obviously won’t work. I didn’t get the dotnetfx35setup.exe to run at all: the process started and ended without showing any screen or message.
No, the real solution is much easier than all this:
The problem lies in the setup erroneously assuming that the SP-bit must be set to “1″. It checks the registry for this. To resolve, simply change this bit. Open the registry editor and browse to the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5
Now locate the value SP. Double-click it and change it from zero to “1″ (hexadecimal or decimal) and rerun the setup. The screenshot on the right shows how this is done.


