Click here to Skip to main content
15,793,921 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
While executing the command update-database -verbose in package console,

I got this error:
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.)


How do i solve it and create localDb database?

What I have tried:

In app config file I made following change
XML
<parameters>
    <parameter value="(localdb)\MSSQLLocalDB" />
</parameters>
Posted
Updated 11-Jun-16 19:34pm
v2

1 solution

I fixed the problem by just adding the "SQL Server Data Tools" from the VS2015 setup installer...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900