sql-server-2008 - 无法使用 SQL Server Management Studio 连接到 SQL Azure

标签 sql-server-2008 azure-sql-database

我已经在 Azure 门户上创建了一个 SQL Azure 数据库,现在我想使用 SQL Server Management Studio 连接到它。我已经这样设置我的属性:

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

但是当我尝试连接这些属性时,出现错误:

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)



而我在我的 SQL Azure 数据库上配置了防火墙。如何解决这个问题?

最佳答案

您的请求尚未离开您的机器,这就是它返回网络错误的原因。可能有几个问题,首先从 SQL Server Management Studio 开始。您必须有 SSMS R2 2008。任何非 R2 版本都无法使用。

以下是您需要执行以解决问题并应用解决方案的测试列表:

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

关于sql-server-2008 - 无法使用 SQL Server Management Studio 连接到 SQL Azure,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10827307/

相关文章:

c# - 如何使用 Active Directory 通用身份验证打开 System.Data.SQLClient.SQLConnection

performance - Azure Web 角色与 SQL Azure 和应用程序性能之间的延迟

playframework-2.0 - Ebean能否正确生成Microsoft SQL Server DDL?

entity-framework - 带有 Entity Framework 的 SQL Azure Elastic Sc​​ale 上的 MultiShardQuery

sql-server-2008 - 如何解决 Microsoft SQL 对 AppHarbor 地理类型的依赖

SQL SELECT where 标记值 LIKE

azure - 有没有办法连接到 Azure SQL DB Premium 读取横向扩展中的特定只读副本?

sql-server - SQL Server 错误。标识列的显式值....只能在使用列列表且 IDENTITY_INSERT 为 ON 时指定

sql-server-2008 - SSIS包保存在哪里?

database-design - SQL Server 2008 : When can I NOT modify table structure? 什么时候不能删除一行?