GanZhiXiong / ganzhixiong.github.io

ganzhixiong-github-io.vercel.app
0 stars 0 forks source link

请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接 - 干志雄的博客 #60

Open GanZhiXiong opened 2 years ago

GanZhiXiong commented 2 years ago

https://ganzhixiong.com/p/361818bb/

今天在 Win11 虚拟机中安装好 SQL Server 2019,就立马测试下项目中的程序,首先配置下数据库连接,测试连接确保如下错误: 1在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。 (provider: Named Pipes Provider, error: 40