Windows API call “RegGetValueW” returned error code: 0

前端 未结 2 2074
死守一世寂寞
死守一世寂寞 2021-01-05 00:59

I am getting Windows API Call Error Code : 0

I have installed SSMS 2018 and was trying to find out if I have any other versions installed. For that I ran sql

相关标签:
2条回答
  • 2021-01-05 01:25

    This post helped me: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/1257bf26-6ab0-416d-bf26-34f128f42248/sql-2016-sp1-sqllocaldb-versions-errors-with-quotwindows-api-call-quotreggetvaluewquot?forum=sqlexpress

    In registry change catalog name in

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server Local DB\Installed Versions
    

    acording to version in

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQLServer\MSSQL13E.LOCALDB\MSSQLServer\CurrentVersion
    

    I my case I had to change from 13.0 to 13.1.

    0 讨论(0)
  • 2021-01-05 01:34

    This is still an issue sometimes in 2020. daniell89's answer is correct, here is an image further explaining the fix.

    0 讨论(0)
提交回复
热议问题