Quantcast
Channel: SQL Server Express forum
Viewing all articles
Browse latest Browse all 3319

SQL 2016 sp1 SQLLocalDB versions errors with "Windows API call "RegGetValueW" returned error code: 0."

$
0
0

I have SQL LocalDB 2016 sp1 installed and when I execute at the command line "SQLLocalDB versions" I get the following error "Windows API call "RegGetValueW" returned error code: 0."

I used sysinternals procmon.exe to capture any errors accessing the registry.

The following path was not found that seems significant.  

HKLM\SOFTWARE\Microsoft\Microsoft SQL Server Local DB\Installed Versions\13.1

I loaded regedit and confirmed the path does not exist.  The registry does have

HKLM\SOFTWARE\Microsoft\Microsoft SQL Server Local DB\Installed Versions\13.0

SQL LocalDB installed with Visual Studio 2017 which is not SP1 runs without errors.

I have tried installing service packs for SQL, uninstalling/reinstalling.  I have reset windows 2 times.  In this final test I installed Windows 10 from scratch and installed only SQL Express Advanced with Sp1.  All Windows updates are installed.

I can't resolve this issue with reinstall or installing the updates.  

I do not find any hits in google for this error.  The error is on a clean install of Windows 10.

Thanks.


Viewing all articles
Browse latest Browse all 3319

Latest Images

Trending Articles



Latest Images