Pls Give Solution
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, 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.)


Karthik ElumalaiRank #544 · 4.5K reputationPosted Jun 11, 2016, 3:22 AM EDT
Ravi Polara PatidarRank #2,471 · 568 reputationPosted Jun 27, 2016, 11:15 PM EDT
Vinay SinghRank #604 · 4K reputationPosted Jun 28, 2016, 12:50 AM EDT
ToString();
Retrieve Connection String From Web.config In ASP.net Using C#.Net (AppSettings,ConnectionStrings)
barathi raja118 reputationPosted Jul 10, 2016, 5:17 AM EDT
Rajeev PunhaniRank #551 · 4.4K reputationPosted Jul 10, 2016, 10:14 PM EDT
Hi Ronak,
This error is due to connection string .It seems you are trying to connect thelocaldb database .Either you don't have localdb installed on your system or your db connectionstring is wrong .For SqlServer 2012 you can download from
If the above solution is helpful then,accept the answer.