更新时间:2022-06-20 09:11:38
确保启用了通过 TCP/IP 和命名管道的 SQL Express 远程连接.如果您不确定如何操作,可以参考这篇文章:如何:配置 Express 以接受远程连接
打开 SQL Server Management Studio 并确保您可以连接到数据库.
Open SQL Server Management Studio and ensure that you can connect to the database.
尝试使用相同的凭据从 Visual Studio(服务器资源管理器窗口)重新连接.
Try reconnection from Visual Studio (Server Explorer window) using the same credentials.