Erro ao tentar gerar models com Scafold-DbContext
Olá ao tentar executar o comando: Scaffold-DbContext "Server=.\1__.1__._._\\SQLINSTANCE. Database=DBQUALQUER. User=sa. Password=123" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models Acontece o erro a seguir:
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) Porém ao coferir instancia, nome de banco, senha tudo esta correto, será que pode ser algum problema com Visual Studio Estou 2019 Community com .NetCore 3 Alguém sabe o que pode ser
Discussão (0)
Carregando comentários...