SQL Server无法通过服务器名称连接[关闭](SQL Server cannot connect via server name [closed])

编程入门 行业动态 更新时间:2024-10-26 10:30:40
SQL Server无法通过服务器名称连接[关闭](SQL Server cannot connect via server name [closed])

这里的条件:

假设我的网络中有2个SQL Server 2000:

双溪(192.168.1.63) serverpc(192.168.1.200)

其中一台客户端PC无法使用“计算机名称”连接到serverpc,但使用IP地址(ODBC和查询分析器)工作正常,可以说这台PC为“问题PC”。 20个客户端可以使用计算机名连接到serverpc,只有这个“问题PC”不能。 “问题PC”可以使用计算机名称和IP连接到sungai。 我检查了nslookup,发现在我的dns中没有使用serverpc的结果。 此网络使用2个路由器,1个子网和网关。

Here the condition:

Let's say I have 2 SQL Server 2000 in my network :

sungai (192.168.1.63) serverpc (192.168.1.200)

One of client PC can not connect to serverpc using "Computer Name" but works fine using IP Adress (ODBC and Query Analyzer), let say this PC as "Problem PC". 20 clients can connect to serverpc using Computer Name, just this "Problem PC" can't. "Problem PC" can connect to sungai using Computer Name and IP. I have checked nslookup and found no result using serverpc in my dns. This network using 2 router with 1 Subnet and Gateway.

最满意答案

我很抱歉要问。 客户端PC存在问题。 不知何故,在这个客户端PC中有一个名为“serverpc”的sql server别名。 我只是从“客户端网络工具”=>“别名”删除它,现在工作正常。

I'm so sorry for asking. The problem is with Client PC. Somehow there is sql server alias with name "serverpc" in this client PC. I just remove it from "Client Network Utility" => "Alias" and works fine now.

更多推荐

本文发布于:2023-07-24 20:13:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1250599.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:名称   服务器   Server   SQL   server

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!