При установке sql server 2008 r2 ошибка net framework

SQL Server 2008 Developer SQL Server 2008 Enterprise SQL Server 2008 Express SQL Server 2008 Express with Advanced Services SQL Server 2008 Standard SQL Server 2008 Standard Edition for Small Business SQL Server 2008 Web SQL Server 2008 Workgroup More…Less

Symptoms

When you try to update Microsoft SQL Server 2008 to SQL Server 2008 Service Pack 2 (SP2) on a computer that only has the Microsoft .NET Framework 4 Client Profile installed, the service pack installation fails, and you receive the following error message:

SQL Server 2008 Setup requires Microsoft .NET Framework 4.0 to be installed.
Download and install .NET Framework from http://www.microsoft.com/net and then rerun Setup.

The error message resembles the following:

See image

Error messages in SQL Server Setup log files
When you examine the Sqlsetup.log that is located in the temporary files folder (%temp%), you see entries that resemble the following:

Note The Microsoft .NET Framework 4.0 is made up of the .NET Framework 4 Client Profile and the .NET Framework 4 Extended components. These components exist separately in the Programs and Features item in Control Panel or in the Add or Remove Programs item in Control Panel in earlier versions of Windows.

To resolve this problem, obtain the latest service pack for SQL Server 2008. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

968382 How to obtain the latest service pack for SQL Server 2008

To work around this problem, install the full version of the .NET Framework 4.0, and then retry the service pack setup. To install the full version, see Microsoft .NET Framework 4 (Web Installer).

Advanced information

This error occurs when the SQL Server Setup program detects that the .NET Framework 4.0 client is installed on the system, and redirects the CLR to load some .NET Framework 4.0 libraries that are only present in the full version of the .NET Framework 4.0.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the «Applies to» section.

This problem was first corrected in Microsoft SQL Server 2008 Service Pack 3.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

  • Remove From My Forums
  • Question

  • I have a new server onto which I have installed Windows Server 2008 R2 Enterprise. I have not been successful at installing SQL Server 2008 Enterprise on it. After many attempts, I continue to get the following error message:

            Microsoft .NET Framework 3.5 installation has failed.
            SQL Server 2008 setup requires .NET Framework 3.5 to be installed.

    Some notes:

    • I got my copies of Windows Server 2008 R2 and SQL Server 2008 Enterprise through my MSDN subscription.

    • Upon first installing WinServer2008 R2, I notice that the .NET Framework 3.5.1 is not installed and is not available as a feature to add through the Programs and Features control panel.

    • Upon first installing WinServer2008 R2, Server Manager does not list .NET Framework 3.5.1 as a feature to add in the Add Features Wizard. What is listed, however, is: “.NET Framework 3.0 Features”.

    • After adding the Framework 3.0 feature through Server Manager, the .NET Framework Setup Verification Tool lists 2 entries available for verification… Framework 2.0 and Framework 3.0.

    • Upon first installing WinServer2008 R2, neither “v3.0” nor “v3.5” is listed in the registry key “HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFramework” but “v2.0.50727” is listed.

    • After installing .NET Framework 3.5 SP1, “v3.0” and “v3.0 SP1” now appear in this key.

    • Upon first installing WinServer2008 R2, neither “v3.0” nor “v3.5” is listed in the registry key “HKEY_LOCAL_MACHINESOFTWAREMicrosoftNET Framework SetupNDP” but “v2.0.50727” is listed.

    • After installing .NET Framework 3.5 SP1, “v3.0” and “v3.5” now appear in this key.


    Upon starting the SQL Server setup, it checks for pre-reqs and says it requires .NET Framework and an updated Windows Installer to be installed. Upon clicking OK, it starts the pre-req setup process and immediately fails while attempting to install .NET Framework 3.5 SP1… thus my error message above.

    Searching the net, I found some suggestions, but none have worked to enable 3.5.1 to appear installed and available… and none have worked to get SQL Server setup to run. I have tried the following:

    •  tried re-installing WinServer 2008 R2 numerous times thinking perhaps something was missed during the setup process. Nothing new installed.

    • installed .NET Framework 3.5 Service Pack 1. After completion, still no “3.5.1” appears as an available feature to add in Server Manager. In Programs and Features control panel, “Microsoft .NET Framework 3.5” does appear as an installed feature, available for Unistall/Change.

    • After installing .NET Framework 3.5 Service Pack 1, I run the .NET Framework Setup Verification Tool and find 3 entries available for verification… Framework 2.0, Framework 3.0 and Framework 3.5… but no Framework 3.5.1. The log from this tool says that 3.5 service pack 1 (Framework v3.5.1) is not installed.

    • The update does not apply to your system

    • The update does not apply to your system

    • None of the products that are addressed by this software update are installed on this computer. Click Cancel to exit setup.

    •  tried installing SQL Server 2008 Service Pack 1 to get the pre-reqs installed… then install SQL Server… and then the service pack again afterwards. This approach fails with the following message:

    • SQL Server 2008 Setup requires Microsoft .NET Framework 2.0 SP2 to be installed.

    I thought that .NET Framework 2.0 was already installed with WinServer 2008 R2.

    These approaches included numerous reboots scattered within. I’ve read accounts of 3.5.1 appearing as the feature to addd via Server Manager. Any ideas on getting Framework 3.5.1 available on my machine would be appreciated. Thanks.

    — Randolph

Answers

  • Hello everyone,

    I’ve had success. A link in a reply in the SQL Server Setup & Upgrade forum led me to a discovery that SQL Server 2008 won’t install on checked builds of Windows Server 2008. And sure enough, after checking my iso, that’s exactly what I had… a download from some time ago.

    After re-installing Windows with a release build, Server Manager still did not list .NET 3.5.1… is still lists

    “.NET Framework 3.0 Features” as a feature to add or remove. However, Programs and Features control panel now lists .«NET Framework 3.5 SP1» along with a host of other stuff SQL Server just installed, now all available for Uninstall, Change or Repair. Quickly enabling the web server role and throwing a couple of web services out there (that require .NET 3.5.1) and accessing them from a client further confirms all seems to be working. So I’ll call it 5 by 5 for now.

    Once again the forums have come to the rescue. Life on the edge… I think I’m downloading too much (LoL)… and it’s time for a vacation.

    Thanks and happy programming everyone.

    — Randolph

    • Marked as answer by

      Tuesday, February 16, 2010 8:45 AM

Перейти к контенту

SQL Server 2008 Developer SQL Server 2008 Enterprise SQL Server 2008 Express SQL Server 2008 Express with Advanced Services SQL Server 2008 Standard SQL Server 2008 Standard Edition for Small Business SQL Server 2008 Web SQL Server 2008 Workgroup More…Less

Symptoms

When you try to update Microsoft SQL Server 2008 to SQL Server 2008 Service Pack 2 (SP2) on a computer that only has the Microsoft .NET Framework 4 Client Profile installed, the service pack installation fails, and you receive the following error message:

SQL Server 2008 Setup requires Microsoft .NET Framework 4.0 to be installed.
Download and install .NET Framework from http://www.microsoft.com/net and then rerun Setup.

The error message resembles the following:

See image

Error messages in SQL Server Setup log files
When you examine the Sqlsetup.log that is located in the temporary files folder (%temp%), you see entries that resemble the following:

Note The Microsoft .NET Framework 4.0 is made up of the .NET Framework 4 Client Profile and the .NET Framework 4 Extended components. These components exist separately in the Programs and Features item in Control Panel or in the Add or Remove Programs item in Control Panel in earlier versions of Windows.

To resolve this problem, obtain the latest service pack for SQL Server 2008. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

968382 How to obtain the latest service pack for SQL Server 2008

To work around this problem, install the full version of the .NET Framework 4.0, and then retry the service pack setup. To install the full version, see Microsoft .NET Framework 4 (Web Installer).

Advanced information

This error occurs when the SQL Server Setup program detects that the .NET Framework 4.0 client is installed on the system, and redirects the CLR to load some .NET Framework 4.0 libraries that are only present in the full version of the .NET Framework 4.0.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the «Applies to» section.

This problem was first corrected in Microsoft SQL Server 2008 Service Pack 3.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

  • Remove From My Forums
  • Question

  • I have a new server onto which I have installed Windows Server 2008 R2 Enterprise. I have not been successful at installing SQL Server 2008 Enterprise on it. After many attempts, I continue to get the following error message:

            Microsoft .NET Framework 3.5 installation has failed.
            SQL Server 2008 setup requires .NET Framework 3.5 to be installed.

    Some notes:

    • I got my copies of Windows Server 2008 R2 and SQL Server 2008 Enterprise through my MSDN subscription.

    • Upon first installing WinServer2008 R2, I notice that the .NET Framework 3.5.1 is not installed and is not available as a feature to add through the Programs and Features control panel.

    • Upon first installing WinServer2008 R2, Server Manager does not list .NET Framework 3.5.1 as a feature to add in the Add Features Wizard. What is listed, however, is: “.NET Framework 3.0 Features”.

    • After adding the Framework 3.0 feature through Server Manager, the .NET Framework Setup Verification Tool lists 2 entries available for verification… Framework 2.0 and Framework 3.0.

    • Upon first installing WinServer2008 R2, neither “v3.0” nor “v3.5” is listed in the registry key “HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFramework” but “v2.0.50727” is listed.

    • After installing .NET Framework 3.5 SP1, “v3.0” and “v3.0 SP1” now appear in this key.

    • Upon first installing WinServer2008 R2, neither “v3.0” nor “v3.5” is listed in the registry key “HKEY_LOCAL_MACHINESOFTWAREMicrosoftNET Framework SetupNDP” but “v2.0.50727” is listed.

    • After installing .NET Framework 3.5 SP1, “v3.0” and “v3.5” now appear in this key.


    Upon starting the SQL Server setup, it checks for pre-reqs and says it requires .NET Framework and an updated Windows Installer to be installed. Upon clicking OK, it starts the pre-req setup process and immediately fails while attempting to install .NET Framework 3.5 SP1… thus my error message above.

    Searching the net, I found some suggestions, but none have worked to enable 3.5.1 to appear installed and available… and none have worked to get SQL Server setup to run. I have tried the following:

    •  tried re-installing WinServer 2008 R2 numerous times thinking perhaps something was missed during the setup process. Nothing new installed.

    • installed .NET Framework 3.5 Service Pack 1. After completion, still no “3.5.1” appears as an available feature to add in Server Manager. In Programs and Features control panel, “Microsoft .NET Framework 3.5” does appear as an installed feature, available for Unistall/Change.

    • After installing .NET Framework 3.5 Service Pack 1, I run the .NET Framework Setup Verification Tool and find 3 entries available for verification… Framework 2.0, Framework 3.0 and Framework 3.5… but no Framework 3.5.1. The log from this tool says that 3.5 service pack 1 (Framework v3.5.1) is not installed.

    • The update does not apply to your system

    • The update does not apply to your system

    • None of the products that are addressed by this software update are installed on this computer. Click Cancel to exit setup.

    •  tried installing SQL Server 2008 Service Pack 1 to get the pre-reqs installed… then install SQL Server… and then the service pack again afterwards. This approach fails with the following message:

    • SQL Server 2008 Setup requires Microsoft .NET Framework 2.0 SP2 to be installed.

    I thought that .NET Framework 2.0 was already installed with WinServer 2008 R2.

    These approaches included numerous reboots scattered within. I’ve read accounts of 3.5.1 appearing as the feature to addd via Server Manager. Any ideas on getting Framework 3.5.1 available on my machine would be appreciated. Thanks.

    — Randolph

Answers

  • Hello everyone,

    I’ve had success. A link in a reply in the SQL Server Setup & Upgrade forum led me to a discovery that SQL Server 2008 won’t install on checked builds of Windows Server 2008. And sure enough, after checking my iso, that’s exactly what I had… a download from some time ago.

    After re-installing Windows with a release build, Server Manager still did not list .NET 3.5.1… is still lists

    “.NET Framework 3.0 Features” as a feature to add or remove. However, Programs and Features control panel now lists .«NET Framework 3.5 SP1» along with a host of other stuff SQL Server just installed, now all available for Uninstall, Change or Repair. Quickly enabling the web server role and throwing a couple of web services out there (that require .NET 3.5.1) and accessing them from a client further confirms all seems to be working. So I’ll call it 5 by 5 for now.

    Once again the forums have come to the rescue. Life on the edge… I think I’m downloading too much (LoL)… and it’s time for a vacation.

    Thanks and happy programming everyone.

    — Randolph

    • Marked as answer by

      Tuesday, February 16, 2010 8:45 AM

  • Remove From My Forums
  • Question

  • Today (8/14/2008) I downloaded SQL Server 2008 Express (SQLEXPR32_x86_ENU.exe).

    When I attempt to install it I get the following message:

    SQL Server 2008 Setup requires Microsoft .NET Framework 2.0 SP2 to be installed.

    Microsoft .NET Framework 3.5 is currently installed.

    Do I really have to use .NET 2.0 SP2?

    I’m attempting to learn C# using Microsoft Visual C# Step by Step book.

    Thanks for any help.

    Bill

Answers

  • Hi Bill,

    Yes, you really have to use .NET 2.0 SP2. The trick is that there is currently not a unique installer for .NET 2.0 SP2 (althrough I’ve heard there will be at some point) so the only way to get it is to install .NET 3.5 SP1, which includes updates to both 2.0 and 3.0 as well.

    Check out the blog for details about the prerequisites for SQL Express 2008.

    Regards,

    Mike

  • Hi Bill,

    Here is your problem:

    VNSServicing9.0EXP1033
                              InstallerType: MSI
                              SPName: RTM

    As you can see, this product is at RTM level, not SP1. If I recall correctly, VNS represens Visual Web Developer Express so you’ll need to update that to SP1 as well. Each of the Express products has to be updated separatelly, because they are all installed independently.

    Regards,

    Mike

  • Remove From My Forums
  • Question

  • Hi experts,

    I intend to redistribute SQL Server 2008 Express R2 in my installer. I’ve extracted the setup files from SQLEXPR32_x86.exe and pass in the appropriate command line parameters during the setup.

    Recently, I noticed if I applied the following Windows Update: .NET 4.0 Client Profile, I will hit into the following error when I installed SQL express.

    .NET Runtime 4.0 Error Reporting

    EventType clr20r3, P1 setup100.exe, P2 10.50.1600.1, P3 4bb67524, P4 mscorlib, P5 4.0.0.0, P6 4ba1da6f, P7 44f0, P8 32, P9 system.security.security, P10 NIL.

    .NET Runtime

    Application: setup100.exe

    Framework Version: v4.0.30319

    Description: The process was terminated due to an unhandled exception.

    Exception Info: System.Security.SecurityException

    Stack:

    at Microsoft.SqlServer.Chainer.Setup.Setup.DebugBreak()

    at Microsoft.SqlServer.Chainer.Setup.Setup.Main()

    Running the setup.exe from a file server will give these errors but if I copied the entire setup files to a local folder and run setup.exe from there, it runs fine.

    May I know what am I missing? I definitely need to support to install SQL express running from a file server location.

    Thanks,

    MK

Answers

  • I read up some issues on System.Security.SecurityException and come across some article on legacyCASPolicy and loadFromRemoteSources elements.
    I did a search of the config files on the SQL setup files and found these files:

    setup.exe.config
    setup100.exe.config
    fixsqlregistrykey_ia64.exe.config
    fixsqlregistrykey_x64.exe.config
    fixsqlregistrykey_x86.exe.config
    landingpage.exe.config

    I updated the <runtime> element to disable legacyCASPolicy and added loadFromRemoteSources element to these files.
    Here are the changes:


      <runtime>
        <legacyCasPolicy enabled=»false» />
        <loadFromRemoteSources enabled=»true»/>
      </runtime>

    I tested the setup.exe and things seemed to run smoothly now.
    Are these changes correct?
    Or I might be breaking something else?

    Please advise.
    Thanks.

    • Marked as answer by

      Monday, August 30, 2010 1:07 AM

    • Marked as answer by
      Alex Feng (SQL)
      Wednesday, August 18, 2010 6:54 AM
  • Min,

    CAS may be the problem since it is a significant security change in .NET 4.0, however I think that these changes should not cause users to manually modify each config files for a setup. You may submit a feedback to report this issue to
    our product team and hope this issue will be fixed in future. Thanks.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help

    • Marked as answer by
      Min Keng
      Monday, August 30, 2010 1:07 AM
  • Yes, I’ve sent the feedback to the product team.

    Thanks,

    Min Keng

    • Marked as answer by
      Min Keng
      Monday, August 30, 2010 1:07 AM

I am trying to install SQL Server 2008 Enterprise, but it give an me an error saying Microsoft .NET framework 3.5 installation has failed.

I tried to install .NET framework 3.5 separately, then install SQL Server again but it gave same error. How can I fix this error?

Bridge's user avatar

Bridge

29.5k9 gold badges60 silver badges82 bronze badges

asked Sep 14, 2012 at 9:51

SMHussain's user avatar

.Net Framework should be built into Windows 8 and 10 already and you
can enable it from control panel.

Do the following to enable .Net Framework on your Windows

  1. Press Windows + R keys on the keyboard.
  2. Type “appwiz.cpl” in the “Run” command box and press “ENTER”.
  3. In the “Programs and Features” window, click on the link “Turn Windows features on or off”.
  4. Check if the “.NET Framework 3.5 (includes .NET 2.0 and 3.0)” option is available in it.
  5. If yes, then enable it and then click on “OK”.

Follow the on-screen instructions to complete the installation and restart the computer, if prompted

answered Apr 11, 2016 at 7:31

Ali Sherafat's user avatar

Ali SherafatAli Sherafat

3,3761 gold badge36 silver badges50 bronze badges

In Windows Server 2008 R2, Do the following steps.

  1. Open Uninstall Program from Control Panel.
  2. Click on «Turn Windows On or Off» from left Pane.
  3. In Action Menu, Click Add Features.
  4. Check .Net Framework 3.5.1 Features (Installed) and Click Next.
  5. Complete the Installation and then Continue Installing Ms SQL
    Server.

answered Apr 16, 2018 at 10:10

Muhammad Shakeel's user avatar

Have you try to remove and reinstall .Net Framework ?
You can try to install .NET 4.0 too…
Otherwise, could you send us your error message ?

Thanks

answered Sep 14, 2012 at 9:57

Franck Charlier's user avatar

  1. Press Windows Key + R
  2. Type ‘optionalfeatures’ Then Enter.
  3. Check On Microsoft .Net Framework 3.5.1 Option.
  4. Press OK.

answered Apr 16, 2018 at 10:29

MAGA Computers's user avatar

I am trying to install SQL Server 2008 Enterprise, but it give an me an error saying Microsoft .NET framework 3.5 installation has failed.

I tried to install .NET framework 3.5 separately, then install SQL Server again but it gave same error. How can I fix this error?

Bridge's user avatar

Bridge

29.7k9 gold badges60 silver badges82 bronze badges

asked Sep 14, 2012 at 9:51

SMHussain's user avatar

.Net Framework should be built into Windows 8 and 10 already and you
can enable it from control panel.

Do the following to enable .Net Framework on your Windows

  1. Press Windows + R keys on the keyboard.
  2. Type “appwiz.cpl” in the “Run” command box and press “ENTER”.
  3. In the “Programs and Features” window, click on the link “Turn Windows features on or off”.
  4. Check if the “.NET Framework 3.5 (includes .NET 2.0 and 3.0)” option is available in it.
  5. If yes, then enable it and then click on “OK”.

Follow the on-screen instructions to complete the installation and restart the computer, if prompted

answered Apr 11, 2016 at 7:31

Ali Sherafat's user avatar

Ali SherafatAli Sherafat

3,4562 gold badges36 silver badges50 bronze badges

In Windows Server 2008 R2, Do the following steps.

  1. Open Uninstall Program from Control Panel.
  2. Click on «Turn Windows On or Off» from left Pane.
  3. In Action Menu, Click Add Features.
  4. Check .Net Framework 3.5.1 Features (Installed) and Click Next.
  5. Complete the Installation and then Continue Installing Ms SQL
    Server.

answered Apr 16, 2018 at 10:10

Muhammad Shakeel's user avatar

Have you try to remove and reinstall .Net Framework ?
You can try to install .NET 4.0 too…
Otherwise, could you send us your error message ?

Thanks

answered Sep 14, 2012 at 9:57

Franck Charlier's user avatar

  1. Press Windows Key + R
  2. Type ‘optionalfeatures’ Then Enter.
  3. Check On Microsoft .Net Framework 3.5.1 Option.
  4. Press OK.

answered Apr 16, 2018 at 10:29

MAGA Computers's user avatar

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

Возможно, вам также будет интересно:

  • При установке vipnet client ошибка не удалось установить
  • При установке solidworks выдает ошибку vba
  • При установке viber на компьютер выдает ошибку 1114
  • При установке solidworks выдает ошибку sql server
  • При установке viber выдает ошибку нет подключения к интернету

  • Понравилась статья? Поделить с друзьями:
    0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии