Soran
Core EF Kurulumu

Genel Tartışma
-
Merhaba core projem için EF kurulumu yapmaya çalışıyorum. Fakat bağlantı esnasında bir hata almaktayım.
Scaffold-DbContext "Server= xxxx\SQLEXPRESS;Database=xxxx;User Id=xxxx;Password=xxxx;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models
Hata;
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: 26 - Error Locating Server/Instance Specified)
Aynı bilgiler ile SSMS ile sıkıntısız bağlantı kurabiliyorum. Ne yapmam gerekiyor?
Edit: .net EF ile de sıkıntısız bağlantı sağlayabiliyorum
- Düzenleyen Kenshai 4 Mart 2020 Çarşamba 16:51
- Değiştirilmiş Tür Kyamuran SalibryamMicrosoft contingent staff, Moderator 10 Mart 2020 Salı 13:22