问题描述:
[08001][Microsoft][SQL Server Native Client 10.0]Named Pipes Provider:Could not open a connection to SQL Server[53].(53)
[HYT00][Microsoft][SQL Server Native Client10.0]Login timeout expired(0)
[08001][Microsoft][SQL Server Native Client 10.0]A network-related or instance-specific error has occurred while establishing a connection to SQL Server.Server is not found or not accessible.Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.(53)翻译一下:
[08001][Microsoft][SQL Server Native Client 10.0]命名管道提供程序:无法打开与 SQL Server 的连接[53]。(53)
[HYT00][Microsoft][SQL Server Native Client10.0]登录超时已过期 (0)
[08001][Microsoft][SQL Server Native Client 10.0]与 SQL Server 建立连接时发生网络相关错误或特定于实例的错误。找不到或无法访问服务器。检查实例名称是否正确,以及 SQL Server 是否配置为允许远程连接。更多信息
问题分析:
主要是服务器连接问题,连错网了。
问题解决:
切换为部署数据库的特定网络。
我采用VS打开的,可以在.application文件下,Configuration文件夹下,找到Database.json文件,在文件中找到相应的数据库设置。