2011-05-07 61 views
0

我需要从SQL Server 2008连接到SQL Server 2000,但我无法连接到它。 它说我服务器名称或实例不正确。 错误消息:无法在本地或远程telnet sql端口1433

Cannot connect to dpsobhanxxx-xxx. 

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: 2) 

但是当我在运行SQL Server 2000的计算机上运行telnet 127.0.0.1 1433它告诉我连接失败。 我在windows服务中启动了telnet。 当我运行netstat -an没有1433 port

我启用了SQL Server中的TCP/IP端口具有1433端口的客户端网络实用程序。但不起作用。

回答

0

两天后,我找到了解决办法,所以我会在这里分享: 只要升级您的SQL服务器2000 SQL server 2000 SP3

+1

呵呵 - 这真是一件非常糟糕的事,你有一个未修补的2000服务器正在运行! – Sam 2011-05-09 21:21:34

0

检查您的防火墙 - 在两台计算机和它们之间(如果有的话)。

如果此端口被阻止,您看到的行为正是我所期望的行为。

+0

防火墙两台计算机上都关闭 – 2011-05-07 07:00:42

+0

@Raymond - 以及它们之间?您是否通过SQL Server配置管理器启用了TCP/IP连接? – Oded 2011-05-07 07:02:11

+0

在配置管理器的SQL Server 2008中启用了tcp/ip,并且在客户端网络实用程序的SQL 2000中启用了具有1433端口的TCP/IP – 2011-05-07 07:04:11