none
SQL Server 2008 - Installation Woe - .NET Framework 3.5 SP1

    Question

  •  

    On a Windows 2003 R2 x64 server, I have been unable to install SQL Server 2008 Enterprise Edition x64. When running setup.exe, I almost instantaneously receive the following Microsoft SQL Server Setup error:

    "Microsoft .NET Framework 3.5 installation has failed.

    SQL Server 2008 Setup requires .NET Framework to be installed."

    What does not make sense is that I successfully downloaded .NET Framework 3.5 from the Microsoft download site (published 8/11/2008) prior to the SQL Server 2008 installation attempt.

    http://www.microsoft.com/downloads/details.aspx?familyid=ab99342f-5d1a-413d-8319-81da479ab0d7&displaylang=en


    I do need to note that a few nights ago, prior to downloading the framework (3.5 SP1), I ran the SQL Server 2008 setup executable. I was prompted that in order to install SQL Server 2008, the setup program needed to first install .NET 3.5 SP1 and Windows Installer 4.5. I let the .NET 3.5 SP1 install run for about 1.5 to 2 hours and cancelled (now I wish I had just let it go).

    It is my understanding (correct me if I am wrong) that the SQL Server 2008 setup program initially checks for any pre-RTM versions of .NET 3.5 SP1 Framework. If one is found, it is then supposed to guide the user through both the installation of the .NET 3.5 SP1 Framework and Windows Installer 4.5.

    I have removed .NET 3.5 SP1 Framework (Add/Remove programs) and rebooted. However, upon running the SQL Server 2008 setup.exe again, I receive the same error message.

    "Microsoft .NET Framework 3.5 installation has failed.

    SQL Server 2008 Setup requires .NET Framework to be installed."

    It seems like Microsoft is checking data in the registry and that the entire 8/11/2008 version of .NET 3.5 SP1 Framework has not truly been removed from the registry. If it were, I should be receiving the classic SQL Server 2008 installation prompt, informing me that I need .NET Framework 3.5 SP1 installed before installing SQL Server 2008. Some people have complained about receiving this prompt when they already have a .NET 3.5 version installed on their machine. I would really like to get that prompt to appear again so that I can install the RTM version of .NET Framework 3.5 SP1 (through the SQL Server 2008 setup program) and then allow the setup program to install SQL Server 2008.

    Does someone know how I could best resolve this issue?

    Thanks,
    Allen
    Friday, October 03, 2008 9:15 PM

Answers

  • Have you tried manually installing the .net framework 3.5 sp1 redist from the sql server redist folder for your platform?

     

    Monday, October 13, 2008 6:57 PM

All replies

  • I would go to Add or Remove programs, completely remove .NET and the try to install .NET 3.5 SP1 from the link that you have through the UI. If still can't get .NET installed, look for its log files in %temp%. There is a blog at http://blogs.msdn.com/astebner/archive/2008/04/30/8445569.aspx, that shows the different .NET setup log files. If you are still stuck, you may post the question to http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/threads/.

     

    Once you get .NET 3.5 SP1 installed, just run SQL Server 2008 again.

     

    Hope this helps,

    Peter Saddow [Microsoft]

     

    • Proposed as answer by Lyubakicha Monday, October 24, 2011 8:22 AM
    Saturday, October 04, 2008 3:40 AM
  • Thank you Peter for the comments/suggestions here.  I plan to follow them.  I was wondering if you could clarify what you mean by "install .NET 3.5 SP1 from the link that you have through the UI".

     

    Thanks,
    Allen

    Monday, October 06, 2008 1:08 PM
  • Hello Peter,

     

    I wanted to clarify that I am able to successfully install .NET Framework 3.5 SP1.  This was never an issue.  The problem here is that SQL Server 2008 installer erroneously states that 3.5 SP1 has not been installed when it has already been installed from Microsoft's download site.

     

    In addition, here is the SQL Server 2008 setup error found when viewing %temp%.  Would you alter you suggestions in any way after viewing this log segment?

     

    10/06/2008 09:31:10.260 Attempting to find media for .Net version 3.5
    10/06/2008 09:31:10.275 Error: Cannot determine file version of .Net redist: 0x80004005
    10/06/2008 09:31:12.197 .Net version 3.5 installation failed, so setup will close. Error code: 0x80004005
    10/06/2008 09:31:12.197 Setup closed with exit code: 0x80004005

     

    Thanks,
    Allen

     

    Monday, October 06, 2008 1:45 PM
  • Hi Allen,

     

    I followed up with a developer on my team. This error code means the setup can't determine the version of .NET contained on the media for your architecture. Ensure your media contains the following paths and .NET EXE packages:

     

    ia64\redist\DotNetFrameworks\dotNetFx35setup.exe
    x86\redist\DotNetFrameworks\dotNetFx35setup.exe
    x64\redist\DotNetFrameworks\dotNetFx35setup.exe

     

     

    Hope this solves your problem.

     

    Thanks,

    Peter Saddow [Microsoft]

    Wednesday, October 08, 2008 7:18 PM
  • Hello Peter,

     

    Thank you for looking into this issue further.  Unfortunately, the media does contain the paths and packages that you have specified.  Aaron Stebner (Microsoft) is looking into this installation problem as well from the .NET Framework 3.5 SP1 side.  Today, I sent him the.NET 3.5 SP1 setup log files.  He believes an error occurs during the attempt to install the .NET Framework 3.5 SP1 and that in turn is causing SQL 2008 to fail to install.  I hope that I will be able to mark this thread as "solved" here shortly.

     

    I really appreciate your help Peter in narrowing down potential causes here.

     

    Thanks,
    Allen

     

    Wednesday, October 08, 2008 8:30 PM
  • Any luck on this?

    I am having the same problem!

    Dave

    Thursday, October 09, 2008 2:35 PM
  • Ok I have a fix of sorts.  Uninstall all versions of .net.  It does not like it if you have upgraded though the versions.  Then install just 3.4 sp1.  Then it works.  Very strange if you ask me.

    Dave

    Thursday, October 09, 2008 2:55 PM
  • Hello Dave,

     

    I am glad this action worked for you.  Unfortunately, I have already tried this (among many other things).  The solution may differ from server to server, depending on the degree of problems encountered from a failed .NET Framework 3.5 SP1 installation.  One benefit that I am gaining from all of this that I am becoming much more familiar with SQL Server 2008 and .NET Framework 3.5 SP1 setup program logic. 

     

    I am glad you are in business.

     

    Allen

     

    Thursday, October 09, 2008 3:04 PM
  • Thanks and good luck!  Please let me know if you figure it!

    Dave

    Thursday, October 09, 2008 3:10 PM
  • Same issue for me while using the DVD with the developper edition.
    Using the DVD with the 180 days trial edition, i was able to run the setup .... strange isn't it ?
    Friday, October 10, 2008 8:48 AM
  • I've had the exact same issue, except with the Developer Edition. Currently the work around which solves this issue for me is to copy the Developer Edition from disc to hard drive. After that I've replaced the /x64/redist folder with the same folder from the Enterprise Edition disc (which has no installation problems).

    Note that I was installing to a windows vista machine and replaced the /x86/redist folder, also I would think just replacing the /x86/redist/DotNetFrameworks folder will do the trick. I'm still in the process of discovering exactly what is causing the issue.
    Friday, October 10, 2008 12:26 PM
  • Thank you for the reply here.  I plan to try this workaround, but just need some initial clarification.  You first mention replacing the "/x64/redist folder" and then mention replacing the "/x86/redist folder".  Did you replace both folders?

     

    Thanks,

    Allen

    Friday, October 10, 2008 1:39 PM
  • I've found the problem file, that being ../redist/DotNetFrameworks/dotNetFx35setup.exe. I've tested that you can replace the file with a downloaded version of the .Net Framework 3.5 SP1 from the  Microsoft site. To answer your question though, just replace the appropriate redist folder (or even just dotNetFx35setup.exe file) for the server that you are installing SQL Server 2008 on. That is on a 32bit machine replace x86, Intel 64bit processor replace x64, etc..

    I am however at the moment struggling to install the Development Edition to a
    virtual server with windows server 2008, and getting this from the sqlsetup file in %temp%

    10/10/2008 15:36:03.194 Attempting to get execution timestamp
    10/10/2008 15:36:03.204 Timestamp: 20081010_153602
    10/10/2008 15:36:03.204 Attempting to run workflow LANDINGPAGE
    10/10/2008 15:36:03.204 Attempting to launch process C:\...\SQLServer2008\x86\setup100.exe
    10/10/2008 15:36:03.254 Error: Failed to launch process
    10/10/2008 15:36:03.254 Error: Failed to run workflow LANDINGPAGE
    10/10/2008 15:36:03.264 Attempting to determine security.config file path
    • Proposed as answer by jpowell2000 Wednesday, December 15, 2010 1:11 AM
    Friday, October 10, 2008 1:58 PM
  •  

    Thanks Peter and Allen,

     

    I have sam e problem, .NET 3.5 has aleady installed but SQL SERVER 2008 setup is unable to locate it and keep complaning it.

     

    10/11/2008 16:46:05.521 ======================================================================
    10/11/2008 16:46:05.571 Setup launched
    10/11/2008 16:46:05.592 Attempting to determine media source
    10/11/2008 16:46:05.612 Media source value not specified on command line argument.
    10/11/2008 16:46:05.632 Setup is launched from media directly so default the value to the current folder.
    10/11/2008 16:46:05.662 Media source: J:\
    10/11/2008 16:46:05.692 Attempt to determine media layout based on file 'J:\mediainfo.xml'.
    10/11/2008 16:46:05.752 Media layout is detected as: Full
    10/11/2008 16:46:05.782 Media LCID is detected as: 1033
    10/11/2008 16:46:05.802 Current running setup.exe full path: J:\setup.exe
    10/11/2008 16:46:05.822 Media setup.exe file version detected: 2007.100.1600.22
    10/11/2008 16:46:05.852 Locally installed setup.exe full path: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Release\setup.exe
    10/11/2008 16:46:05.902 Local setup.exe file version detected: 2007.100.1600.22
    10/11/2008 16:46:05.982 Local setup.exe version 2007.100.1600.22 is equal or greater than media version 2007.100.1600.22, so re-launching setup.exe from local
    10/11/2008 16:46:06.012 Media source: J:\
    10/11/2008 16:46:06.032 Install media path: J:\x86\setup\
    10/11/2008 16:46:06.062 Media layout: Full
    10/11/2008 16:46:06.082 Attempting to get execution timestamp
    10/11/2008 16:46:06.102 Timestamp: 20081011_164605
    10/11/2008 16:46:06.132 Attempting to launch local setup.exe
    10/11/2008 16:46:06.162 Attempting to launch process C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Release\setup.exe
    10/11/2008 16:46:08.756 Process returned exit code: 0x80004005
    10/11/2008 16:46:08.966 Local setup.exe returned exit code: 0x80004005
    10/11/2008 16:46:09.026 Setup closed with exit code: 0x84C40013
    10/11/2008 16:46:09.147 ======================================================================

    below is SQLSETUP_LOCAL

    :

     

     

    10/11/2008 16:46:06.523 ======================================================================
    10/11/2008 16:46:06.573 Setup launched
    10/11/2008 16:46:06.593 Attempting to determine media source
    10/11/2008 16:46:06.613 Media source: J:\
    10/11/2008 16:46:06.643 Attempt to determine media layout based on file 'J:\mediainfo.xml'.
    10/11/2008 16:46:06.693 Media layout is detected as: Full
    10/11/2008 16:46:06.753 Media LCID is detected as: 1033
    10/11/2008 16:46:06.773 Setup.exe is running locally
    10/11/2008 16:46:06.793 /? or /HELP or /ACTION=HELP specified: false
    10/11/2008 16:46:06.813 Help display: false
    10/11/2008 16:46:06.843 Checking to see if we need to install .Net version 3.5
    10/11/2008 16:46:06.873 Determining the cluster status of the local machine.
    10/11/2008 16:46:06.923 The local machine is not configured as a cluster node.
    10/11/2008 16:46:06.963 Attempting to find media for .Net version 3.5
    10/11/2008 16:46:06.994 Error: Cannot determine file version of .Net redist: 0x80004005
    10/11/2008 16:46:08.536 .Net version 3.5 installation failed, so setup will close. Error code: 0x80004005
    10/11/2008 16:46:08.586 Setup closed with exit code: 0x80004005
    10/11/2008 16:46:08.656 ======================================================================

     

     

    Please advise me.

     

    Thanks you.

     

     


     

    Saturday, October 11, 2008 9:08 PM
  • Same problem...

     

    Using Vista Home, brand new laptop.  I originally had trial version of vs 2008 with sp1 installed.  Tried installing sql server 2008 trial and received the missing 3.5 error message.  I then removed vs 2008 and tried intalling sql server 2008 trial again with the same error.  I have tried a bunch of things, but most are what has been suggested here in many blogs. 

     

    If someone can help then please share away. Smile

     

    Here is my log:

     

    Version=131072
    UI LCID=1033
    General_AppName=SQL Server 2008 Setup
    Main_Intro_Bold=SQL Server 2008 Setup has encountered an error.
    Main_Intro_Reg=Click 'Send Error Report' to send error report information to Microsoft. Click 'Don't Send' to close this dialog without sending the report.
    Main_Plea_Bold=
    Main_Plea_Reg=Thank you for participating in our product improvement process. Microsoft treats all customer data as confidential and anonymous unless otherwise stated.
    Queued_EventDescription=Install Error
    UIFlags=0
    ReportingFlags=0
    EventType=SQL100Exception
    P1=@@
    P2=0x0F0404F5
    P3=0x0F0404F5
    P4=0xC2B0B50B@1202@1
    P5=0xC2B0B50B@1202@1
    P6=Unknown
    P7=Unknown
    P8=Unknown
    P9=Unknown
    P10=0x2ACD08CA

    Sunday, October 12, 2008 12:54 PM
  • Same problem here....

     

    Windows 2003 SP2 x64 Standard running on a VM.

     

    Using Developer Edition media.  I've successfully installed to other servers from this media but now receive this error message immediately I run setup.  Log file as below:

     

    10/13/2008 15:54:26.766 ======================================================================
    10/13/2008 15:54:26.797 Setup launched
    10/13/2008 15:54:26.813 Attempting to determine media source
    10/13/2008 15:54:26.829 Media source value not specified on command line argument.
    10/13/2008 15:54:26.860 Setup is launched from media directly so default the value to the current folder.
    10/13/2008 15:54:26.876 Media source: E:\
    10/13/2008 15:54:26.891 Attempt to determine media layout based on file 'E:\mediainfo.xml'.
    10/13/2008 15:54:26.922 Media layout is detected as: Full
    10/13/2008 15:54:26.954 Media LCID is detected as: 1033
    10/13/2008 15:54:26.969 Local setup.exe not found, so continuing to run setup.exe from media.
    10/13/2008 15:54:26.985 /? or /HELP or /ACTION=HELP specified: false
    10/13/2008 15:54:27.001 Help display: false
    10/13/2008 15:54:27.032 Checking to see if we need to install .Net version 3.5
    10/13/2008 15:54:27.047 Determining the cluster status of the local machine.
    10/13/2008 15:54:27.063 The local machine is not configured as a cluster node.
    10/13/2008 15:54:27.094 Attempting to find media for .Net version 3.5
    10/13/2008 15:54:27.110 Error: Cannot determine file version of .Net redist: 0x80004005
    10/13/2008 15:54:29.173 .Net version 3.5 installation failed, so setup will close. Error code: 0x80004005
    10/13/2008 15:54:29.204 Setup closed with exit code: 0x80004005
    10/13/2008 15:54:29.219 ======================================================================

    Already had a myriad of issues while builing this 2008 environment and getting to the end of my tether. 

     

    Thanks everyone

    Monday, October 13, 2008 3:01 PM
  • Have you tried manually installing the .net framework 3.5 sp1 redist from the sql server redist folder for your platform?

     

    Monday, October 13, 2008 6:57 PM
  • Following up to say that I missed Richard's post when I first read this thread.  Copying a freshly downloaded dotNetFx35setup.exe over the existing one, as he suggests, did the trick for me. 

     

     RichardHart wrote:
    I've found the problem file, that being ../redist/DotNetFrameworks/dotNetFx35setup.exe. I've tested that you can replace the file with a downloaded version of the .Net Framework 3.5 SP1 from the  Microsoft site. To answer your question though, just replace the appropriate redist folder (or even just dotNetFx35setup.exe file) for the server that you are installing SQL Server 2008 on. That is on a 32bit machine replace x86, Intel 64bit processor replace x64, etc..

     

    I can't say I understand why, when I've already run numerous installations from the same media, but I'm just happy to be moving forward with this again.

     

    Thanks for this

    • Proposed as answer by andru_nl Wednesday, January 21, 2009 3:29 PM
    Monday, October 13, 2008 8:26 PM
  • Yes I did try that.

     

    I have installed it succefully, but the problem was none of that.  I downloaded the trial version of SQL Server 2008 on Friday night.  I did notice that it was very slow and actually took more then 5 hours to finally complete.  I burned the dvd image and tried the install after this point.

     

    I tried everything that has been suggested in these posts and finally decided that perhaps this download may have had a problem, so I did it again yesterday and it completed in about 45 minutes.  I burned the image and bingo!  It worked the first go.

     

    The reason I decided to do the burn again was for the following reason:  I copied the dvd files to my hd.  I then put the .netframework 3.5fx file in the sql server folder for x86 and removed the other file.  It then began to install for the first time, but then encountered another problem file (one of the msi files) and aborted. 

     

    I hope this may help someone.

     

    vic

     

    Tuesday, October 14, 2008 1:36 AM
  •  

    Replacing the dotnetfx35Setup.exe with a newly downloaded copy seems to have taken care of the problem for me as well. I'm wondering if the one on the Developer DVD might have been corrupt.
    • Proposed as answer by Thien D Sunday, August 22, 2010 11:46 PM
    Thursday, October 16, 2008 7:07 PM
  • Thanks for this post; I am finally moving forward!
    Tuesday, January 20, 2009 8:48 PM
  • Confirming the same problem on Winxp pro sp2. Made me deinstall entire .net and visual studios, VSTA, MSDN docs and all Sql servers.
    Would be nice if MS released an updated version of the disk. (also removing "PreRelease" from the version info). Or at least explained what's wrong with that dotnetfx35Setup.exe. ;)
    Wednesday, January 21, 2009 4:28 PM
  •  

    Replacing the dotnetfx35Setup.exe with a downloaded one did the trick!
    Thank you!
    Wednesday, May 13, 2009 1:27 PM
  • None of the above suggestions could help resolve the same problem I am facing on my Windows XP SP3 box. I have another thread started by me at http://social.msdn.microsoft.com/Forums/en-US/sqlsetupandupgrade/thread/94e57026-ccec-4921-9baf-422e9f8fa474/

    I anyone has any other solutions/suggestions please let me know.

    Thursday, May 28, 2009 4:17 PM
  • this worked for me

    ran the dotNetFx35Setup.exe file in the redist folder and selected "repair"
    Wednesday, June 03, 2009 1:25 PM
  • Resolved.

    OS: Windows 7 (.Net Framework 3.5 sp1 is already installed but still SQL raises this error : "Microsoft .NET Framework 3.5 installation has failed.
    SQL Server 2008 Setup requires .NET Framework to be installed.")



    Resolution:
    Copy your SQL setup media to your local hard disk.
    1. Download .NetFramework 3.5 SP1 (which corresponds to your architecture - x86, x64 or i64)
    2. Do not try to install it by double clicking it, rather extract it first to a location of your choice by issuing this command
    <ExecutableName>.exe /x:c:\dotNetFramework35SP1\

    for example dotNetFx35Setup.exe /x:c:\dotNetFramework35SP1\          (whatever the name is just use it)

    3. Open the folder where you extracted the files. You will find a folder named "wcu" open this folder as well. You will find a folder named "dotNetFramework".
    4. Copy everything inside this folder.
    5. go to SQL2008 setup folder > <architecture> FOR EXAMPLE x86, x64 > redist > dotNetFrameworks
    6. Paste your files there (replace if prompted).

    Sunday, July 19, 2009 7:58 AM
  • I have had the exact same problem trying to install SQL Server 2008 Workgroup edition.  After trying everying on this tread, This morning after a Windows update added hotfix for dotNet3.5 (KB953595) , Security update KB972260 and Hotfix (KB942288) the problem went away.  I am running on Vista Business SP1.  I hope this helps.
    Thursday, July 30, 2009 1:56 PM
  • Thanks Richard,

    This trick worked for me too.
    Friday, January 08, 2010 4:36 AM
  • Hi all,

    Two+ days and just could not get rid of "SQL server 2008 setup requires .net framework 3.5 SP1 to be installed"...

    Thanks to all for the keywords "folder" and "x64\redist".  I went to check the install media downloaded on the Win Server 2008, my "x64" folder didn't have "redist".  Why? The thought of a truncated packaging because of space potencially?  Network disconnected during ftp?
    So I download again, this time, I have the "x64\redist".  Then, do the setup with slipstream method... It works!!! Upgrading from 2005 t0 2008 is progressing 60% to done.

    Thanks to this post.
    Tuesday, March 02, 2010 5:41 AM
  • Same error as Allen Paul.

    The fix is strange: Download  ISO burn image from CDW.G again and burnt a new DVD. It works. It may be that the original burn image has deficiency or something wrong in the earlier download.

    Also, try to install SQL Server 2008 first if this is the option. Also, try with the different order of the Windows update and other software.

    Tuesday, July 06, 2010 12:24 PM
  • Replacing the dotnetfx35setup.exe file in all 3 redist folders  (ia64, x64 and x86)  with a newly downloaded file from the microsoft website worked.

    As RossBurgess suggests the files could possibly be corrupt. Peter from has also determined that "the setup can't determine the version of .NET contained on the media for your architecture" which increases the likelihood of the file being corrupt. Hope this helps.

    Sunday, August 22, 2010 11:52 PM
  • That worked me
    Friday, August 27, 2010 9:11 AM
  • Hi

    Im new to sql server and having the same problem about the message coming up during installation. Can anyone please tell me how to replace the dotnetfx35setup.exe file in all 3 redist folder with newly downloaded file?

    Thanks.

    Monday, November 01, 2010 10:53 AM
  • This worked for me!  This issue is posted everywhere and there aren't many solutions.  This one worked for me. I had two SQL 2008 STD disks obtained form separate locations.  I had copied the files to the server to be installed on and still getting the 3.5 message.  Once I downloaded the 3.5 SP1 and saved over the files, it installed successfully.

     

    Thanks

    John

    Wednesday, December 15, 2010 1:17 AM
  • I copied all files from the corrupt installation disk onto the server, then downloaded .Net Framework 3.5 SP1 from the  Microsoft site.  Then replaced the files in the copy location on the server with the downloaded file:

    ia64\redist\DotNetFrameworks\dotNetFx35setup.exe
    x86\redist\DotNetFrameworks\dotNetFx35setup.exe
    x64\redist\DotNetFrameworks\dotNetFx35setup.exe

     

    Once these files have been replaced with dotNetFx35setup.exe downloaded from Microsoft, you can execute the installation successfully from the copy location on the server, not the disk by running setup.exe.

    Wednesday, December 15, 2010 7:33 PM
  • Please Replace your media (DVD)or download a fresh copy of SQL

     

     

    • Proposed as answer by kkhasipo Wednesday, April 13, 2011 11:48 AM
    Wednesday, April 13, 2011 11:46 AM
  • I was getting the same errors trying to install SQL Server 2008 R2 from a mounted ISO file (using Virtual CloneDrive).

    Turns out all I had to do was to copy the media to a local drive and launch it from there and all works fine without any changes.


    Adam Tappis. (MCSD VB6 & .NET, MCDBA SQL 2000)
    Thursday, November 24, 2011 8:11 PM
  • Please check blow link

    http://www.sqlcoffee.com/Troubleshooting087.htm

    -----------------------------

    www.VestaSoftware.com

    Sunday, November 25, 2012 9:07 AM