1
Reply

Error while updating database in EF 6.1.3 and visual studio

Ask a question
Nepethya Rana

Nepethya Rana

8 years ago
261
1
While executing the command update-database -verbose in package console,
I got this error "<pre lang="C#">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.)</pre>".
How do i solve it and create localDb database?
In app config file I made following change
<parameters>
<parameter value="(localdb)\MSSQLLocalDB" />
</parameters>

Answers (1)