积极答复者
sql server 2008 R2 下连接问题

问题
-
这是个老问题,又让我撞上了;
假如数据库IP地址为:10.1.2.3,端口为1433,账户为sa,密码为123(这个数据库在虚拟机上)
同事在各自的电脑上都能连接上;我的电脑连接不上这个数据库,却能连接到其它服务器上的数据库(连接其它服务器上的数据库正常);
我更改了这个数据库的端口,又试了一个,同事们从新输入IP与端口,再次登录,一切OK;但我的仍不能登录 ;
请问这是为什么?
错误信息如下:
在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。 (provider: Named Pipes Provider, error: 40 - 无法打开到 SQL Server 的连接) (.Net SqlClient Data Provider)
大其心,可容天下之物; 虚其心,可受天下之善;
- 已编辑 lfofiug 2013年3月21日 2:15
答案
-
Hi,
您有试着按@KevinLiu2 所说的,去使用TCP/Ip 连接么?
这个thread和你的很类似也是window8 连接sql server2008 R2的问题,你可以参考下:
Thanks。
Amy Peng
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- 已标记为答案 Amy PengMicrosoft employee, Moderator 2013年4月1日 7:46
全部回复
-
Hi,
您有试着按@KevinLiu2 所说的,去使用TCP/Ip 连接么?
这个thread和你的很类似也是window8 连接sql server2008 R2的问题,你可以参考下:
Thanks。
Amy Peng
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- 已标记为答案 Amy PengMicrosoft employee, Moderator 2013年4月1日 7:46