'A required file could not be downloaded while installing SQL Server 2019 Developer
Solution 1:[1]
Open PowerShell as administrator and run
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type Dword
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type Dword
Solution 2:[2]
I had the same problem. You have to press win + R and write 'regedit
'. In the opened window follow this path:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\.NetFramework\v4.0.30319
In this folder press the right button and click on 'New' -> 'DWORD (32 - bit) Value' with name '
SchUseStrongCrypto
' and value '1'.HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NetFramework\v4.0.30319
In this folder press the right button and click on 'New' -> 'DWORD (32 - bit) Value' with name '
SchUseStrongCrypto
' and value '1'.After that you can run and install Sql Server 2019.
Solution 3:[3]
I encountered this problem recently - it was accompanied by an error in the Event Viewer System log, with source Schannel
:
A fatal error occurred while creating an SSL client credential. The internal error state is 10013.
This error indicates that the issue is related to the connection itself, rather than the specific installer file being downloaded.
I found a solution on the Microsoft TechCommunity site, linked at the bottom. Once I'd applied the cryptography change, the download worked immediately, no need for a different installer.
- Control Panel -> Administrative Tools -> Local Security Policy.
- In Local Security Settings, expand Local Policies, and then click Security Options.
- Under Policy in the right pane, double-click System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing, and then click Enabled.
- Run gpupdate /force
Solution 4:[4]
Go to START and type "Windows Powershell". Click "Run as Administrator"
After clicking, the following blue screen cmd will be visible:
Type the following two commands:
Commands
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type Dword
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type Dword
Source video: https://youtu.be/F5worx5wbOs
Note: Open Powershell as an admin, else it won't work
Solution 5:[5]
Registry key edits didn't work for me. I ended up just downloading and installing SQL Express. I didn't want to install SQL Express edition, I wanted Developer Edition. At least I've got something and now I can try to figure if Express will do the job for my development work. If not I'll have to figure out how to upgrade express.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Mike |
Solution 2 | Customizer |
Solution 3 | dr_draik |
Solution 4 | |
Solution 5 | Tom McDonald |