Hi @r2qn,
You didn't describe exactly how to connect to the database.
You can check whether the database connection is successful through Server Explorer.
error: 52 - Unable to locate a Local Database Runtime installation. Verify that SQL Server Express is properly installed and that the Local Database Runtime feature is enabled.
You can check whether SQL Server Express Setup is installed.
Visual Studio
SQL server
Links that may be helpful:
Creating a Connection String and Working with SQL Server LocalDB
Connect to a database in Visual Studio
Best regards,
Lan Huang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.