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: NoneSystem.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
User contributions licensed under CC BY-SA 3.0