Skip to content

Error while updating database in EF 6.1.3 and visual studio

Nepethya Rana

Asked Jun 11, 2016, 7:31 PM EDT1 answer
Share
LinkedInX
While executing the command update-database -verbose in package console,
I got this error "
VB.NET
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?
In app config file I made following change

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    I fixed the problem by just adding the "SQL Server Data Tools" from the VS2015 setup installer...
    0