Error when start an instance of SQLLOCQLDB 2017 on windows 7 64bit (entry point not found except)
Asked Answered
T

4

6

I tried to start an instance of SQLLOCALDB 2017 on win7 (x64) but this message box Appears :

"The procedure entry point BCryptKeyDerivation could not be located in the dynamic link library bcrypt.dll"

Anybody knows it's reason?

enter image description here

more info from CMD:

Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\hashem-7-x64>SQLLOCALDB INFO MSSQLLocalDB

C:\Users\hashem-7-x64>SQLLOCALDB VERSIONS Microsoft SQL Server 2017 (14.0.1000.169)

C:\Users\hashem-7-x64>SQLLOCALDB START MSSQLLOCALDB Start of LocalDB instance "MSSQLLOCALDB" failed because of the following error: Error occurred during LocalDB instance startup: SQL Server process failed to sta rt.

C:\Users\hashem-7-x64>

Thyrsus answered 22/11, 2017 at 18:35 Comment(0)
C
6

I had the same problem and I resolved it by uninstalling Sql Server LocalDB 2017 and installing the 2014 version.

Apparently the 2017 version is not compatible with Windows 7.

Choli answered 1/12, 2017 at 18:47 Comment(0)
L
6

SQL Server 2017 Express LocalDB isn't supported on Windows 7. The SqlLocalDB.msi installer for me but when I tried to start an instance it would give the "BCryptKeyDerivation could not be located" error. Anecdotally the 2016 version is supposedly not supported, but it installed and default instances run for me.

Per Microsoft :

Supported Operating System:

Windows 10 , Windows 8, Windows 8.1, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016

Some additional information indicating that you'll need at least Windows 8

BCryptKeyDerivation function

The BCryptKeyDerivation function derives a key without requiring a secret agreement. It is similar in functionality to BCryptDeriveKey but does not require a BCRYPT_SECRET_HANDLE value as input.

Minimum supported client

Windows 8 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2012 [desktop apps | UWP apps]

Lexicostatistics answered 5/4, 2018 at 17:2 Comment(1)
Got the same problem on 2019 too, seems like the 2016 is the last really supported version on Windows 7.Dicrotic
P
3

Install DotNET Core v2 SDK (More specifically v2.1.4 as of now)

The problem is caused by the version of assemblies for cryptographic algorithms currently installed on your PC offered via DotNET:

 System.Security.Cryptography
 System.Security.Cryptography.Cng

The mentioned update provides the missing dependencies. Read more about the dependencies on Nuget information page.

Pettaway answered 13/2, 2018 at 13:27 Comment(2)
This did not work for me sadly. (win Server 2008 rc2)Cisalpine
Nor me on Windows 7 EnterpriseLamberto
C
0

Install Sqllocaldb 2016 that work great in windows 7. i facing the same problem last few days and finally i get the answer to install localdb 2016. sqllocaldb 2016 support very well and even we don't need to downgrade the database version.i try sqllocaldb 2014 to but it get me error the database version is not supported. but sqllocaldb 2016 support great sqllocaldb 2016

Cori answered 25/3, 2019 at 12:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.