1
Answer

Error 52 Unable to locate a Local DB Runtime

Photo of Hemal Joshi

Hemal Joshi

7y
161
1
Hello C#pers,
 
I am having an issue regarding local database connection on my Visual Studio 2012 and Sql Server 2008 R2 my problem is i have successfully created database in Sql Server 2008 R2 and connect to VS 2012 but when i create database on local it will raise the error give in the image. How to resolve that error.
 
 
 

Answers (1)

1
Photo of Manav Pandya
NA 7.1k 24.1k 7y
Hello hemal
 
After observing you error i would suggest :
 
- Check connection string 
- Check version of sql server you are using , and download add-in for the same
 
Still if u need more help , go to :
 
https://www.mssqltips.com/sqlservertip/2694/getting-started-with-sql-server-2012-express-localdb/
 
Thanks 
 
 
Accepted