Nandan Acharya
Nandan Acharya

Reputation: 970

A required file could not be downloaded while installing SQL Server 2019 Developer

While Installing SQL Server 2019 Developer Edition, I am getting error - A required file could not be downloaded. This could mean the version of the installer is no longer supported. Please download again from download site.

enter image description here

I am not getting what is missing file and how to resolve this.

Upvotes: 38

Views: 42355

Answers (7)

zahedimahzad
zahedimahzad

Reputation: 153

You may need to set a proxy for required file download. This solution worked for me. I used a VPN software to download required file.

Upvotes: 1

Tara
Tara

Reputation: 77

Instalation requires access to the internet which was not accessible in my case, so i opened firewall for a moment to finish this instalation.

in other cases it is usefull to read the logs:

C:\Program Files\Microsoft SQL Server\150\SSEI\LogFiles

NOTE: 150 is version so your path could be different

Upvotes: 0

Tom McDonald
Tom McDonald

Reputation: 1902

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.

Upvotes: 0

Aman Chawla
Aman Chawla

Reputation: 314

Go to START and type "Windows Powershell". Click "Run as Administrator"

Open as Powershell

After clicking, the following blue screen cmd will be visible:

cmd

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

Upvotes: 1

Kirill
Kirill

Reputation: 61

I had the same problem. You have to press win + R and write 'regedit'. In the opened window follow this path:

  1. 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'.

  2. 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'.

  3. After that you can run and install Sql Server 2019.

Upvotes: 6

Mike
Mike

Reputation: 3024

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

Source https://techcommunity.microsoft.com/t5/sql-server/sql-server-installer-unable-to-download-the-required-files/m-p/2120065/highlight/true#M890

Upvotes: 91

dr_draik
dr_draik

Reputation: 688

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.

  1. Control Panel -> Administrative Tools -> Local Security Policy.
  2. In Local Security Settings, expand Local Policies, and then click Security Options.
  3. Under Policy in the right pane, double-click System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing, and then click Enabled.
  4. Run gpupdate /force

Source: https://techcommunity.microsoft.com/t5/sql-server/sql-server-installer-unable-to-download-the-required-files/m-p/163982/highlight/true#M108

Upvotes: 0

Related Questions