SqlClient SqlException EF

-1

I have problem with SQL Server and Entity Framework when I try to migrate database create new I get this error:

Microsoft.EntityFrameworkCore.Infrastructure[10403]
Entity Framework Core 2.1.2-rtm-30932 initialized 'ImageGalleryDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None

System.Data.SqlClient.SqlException (0x80131904): 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.)

System.ComponentModel.Win32Exception (2): Nie można odnaleźć określonego pliku

c#
sql-server
entity-framework
asked on Stack Overflow Sep 4, 2018 by Tom Karnaski • edited Sep 4, 2018 by marc_s

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0