简体   繁体   English

无法从服务器资源管理器,SQL Server 2008 R2 Management Studio等连接到远程数据库

[英]Unable to connect to remote databases from server explorer, sql server 2008 r2 management studio and others

After uninstalling vs2011 beta, I cannot connect to remote databases from server explorer in vs2010 and even from sql server 2008 r2 management studio. 卸载vs2011 beta之后,我无法从vs2010中的服务器资源管理器甚至从sql server 2008 r2 Management Studio中连接到远程数据库。

the error message from server explorer in vs2010 is as follow: vs2010中来自服务器资源管理器的错误消息如下:

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: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) (提供者:TCP提供程序,错误:0-连接尝试失败,因为一段时间后连接方未正确响应,或者连接建立因连接主机未能响应而失败。)

the error message from sql server 2008 r2 management studio is as follow: 来自sql server 2008 r2管理工作室的错误消息如下:

TITLE: Connect to Server 标题:连接到服务器

Cannot connect to xxx.xxx.xxx.xx,xxxx\\SQL2008. 无法连接到xxx.xxx.xxx.xx,xxxx \\ SQL2008。


ADDITIONAL INFORMATION: 附加信息:

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: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) (Microsoft SQL Server, Error: 10060) (提供程序:TCP提供程序,错误:0-连接尝试失败,因为一段时间后连接方未正确响应,或者由于连接主机未能响应而建立连接失败。)(Microsoft SQL Server,错误:10060)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=10060&LinkId=20476 要获取帮助,请单击: http : //go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=10060&LinkId=20476

Ok, that's not because of the vs2011 beta uninstallation, that is becuase the TCP port 1434 was close where I use Internet. 好的,这不是因为vs2011 beta卸载,是因为我使用Internet时TCP端口1434处于关闭状态。 by opening the 1434 port the problem solved. 通过打开1434端口即可解决问题。

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

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