2016-08-20 74 views
-1

当我尝试部署我的数据库(SQL Server 2012中)出现此错误:Azure的SQL数据库部署SQL Server 2012的

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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)

请帮我

谢谢

回答

1

首先,连接到Azure SQL数据库时,您需要习惯“网络相关或特定于实例的”错误。连接经常失败,并且需要某种类型的重试逻辑。

但是在这种情况下,您可能需要将您的IP列入白名单。在Azure门户中,找到您创建防火墙排除的位置并添加您的客户端IP。如果您尝试从自己的计算机进行连接,那么门户网站将通过一键式方式添加该计算机。

当然,仔细检查您的连接字符串。

相关问题