简体   繁体   English

无法使用SQL Server Management Studio连接到SQL Azure

[英]Cannot connect to SQL Azure using SQL Server Management Studio

I have create a SQL Azure database on the Azure portal, now I want to connect to it using SQL Server Management Studio. 我在Azure门户上创建了一个SQL Azure数据库,现在我想使用SQL Server Management Studio连接到它。 I've set my properties like this: 我设置了这样的属性:

Server Type:Database Engine:
Server Name:[mycred].database.windows.net
Authentification: SQL Server Authentification
username: myusername
password: mypassword

But when I try to connecting with these properties I get an error: 但是当我尝试连接这些属性时,我收到一个错误:

A network-related or instance-specific error occurred while establishing a connection to SQL Server. 建立与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. 验证实例名称是否正确,以及SQL Server是否配置为允许远程连接。 (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53) (提供程序:命名管道提供程序,错误:40 - 无法打开与SQL Server的连接)(Microsoft SQL Server,错误:53)

Whereas I have configure firewall on my SQL Azure database. 我在SQL Azure数据库上配置了防火墙。 How to solve this issue? 如何解决这个问题?

Your request has not left your machine that's why it is returning network error. 您的请求未离开您的计算机,这就是它返回网络错误的原因。 There could be several issues and first start with SQL Server Management Studio. 可能有几个问题,首先从SQL Server Management Studio开始。 You must have SSMS R2 2008. Any non R2 version will not work. 您必须拥有SSMS R2 2008.任何非R2版本都不起作用。

Here is a list of test you would need to perform to troubleshoot the problem and apply solution: 以下是您需要执行的测试列表,以解决问题并应用解决方案:

http://social.technet.microsoft.com/wiki/contents/articles/sql-azure-connectivity-troubleshooting-guide.aspx http://social.technet.microsoft.com/wiki/contents/articles/sql-azure-connectivity-troubleshooting-guide.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM