局域网内连接sql服务器(msde2000)连接不上的问题,请教!

时间:2022-08-07 18:10:26
如题:局域网内连接sql服务器((msde2000))连接不上的问题,请教!
本机(local可以连上,并能正常使用),换台机器在编程环境下可以刷新出sql服务器名称,但连接时连接不上,显示“服务不存在或拒绝访问”
各位高手请指教

16 个解决方案

#1


msde2000必須更改登陸模式,在注冊表中改,然後重啟sql server 服務

#2


这个我也改了
改成 SQL的身份验证方式
并修改了 sa 的密码
可就是不行

#3


日志:
2007-31 08:19:08.75 server    Microsoft SQL Server  2000 - 8.00.194 (Intel X86)                                                                                                                                                                               0              
Aug  6 2000 00:57:48                                                                                                                                                                                                                                            0              
Copyright (c) 1988-2000 Microsoft Corporation                                                                                                                                                                                                                   0              
Desktop Engine on Windows NT 5.2 (Build 3790: )                                                                                                                                                                                                                 0              
2007-07-31 08:19:08.76 server    Copyright (C) 1988-2000 Microsoft Corporation.                                                                                                                                                                                  0              
2007-07-31 08:19:08.76 server    保留所有权利。                                                                                                                                                                                                                         0              
2007-07-31 08:19:08.76 server    服务器进程 ID 是 1312。                                                                                                                                                                                                                0              
2007-07-31 08:19:08.76 server    将 SQL Server 消息记录在文件“C:\Program Files\Microsoft SQL Server\MSSQL\LOG\ERRORLOG”中。                                                                                                                                                0              
2007-07-31 08:19:08.89 server    SQL Server 正在以优先级“normal”(已检测到 1 CPU)启动。                                                                                                                                                                                        0              
2007-07-31 08:19:09.18 server    已为 thread 模式处理而配置了 SQL Server。                                                                                                                                                                                                  0              
2007-07-31 08:19:09.20 server    使用 dynamic 锁分配。[500] 锁块,[1000] 锁所有者块。                                                                                                                                                                                           0              
2007-07-31 08:19:09.29 spid3     启动数据库“master”。                                                                                                                                                                                                                  0              
2007-07-31 08:19:09.64 server    正在使用“SSNETLIB.DLL”版本“8.0.194”。                                                                                                                                                                                                  0              
2007-07-31 08:19:09.64 spid5     启动数据库“model”。                                                                                                                                                                                                                   0              
2007-07-31 08:19:09.65 spid3     服务器名称是“WUGONG”。                                                                                                                                                                                                                 0              
2007-07-31 08:19:09.65 spid3     Skipping startup of clean database id 4                                                                                                                                                                                         0              
2007-07-31 08:19:09.65 spid3     Skipping startup of clean database id 5                                                                                                                                                                                         0              
2007-07-31 08:19:09.87 spid5     清除 tempdb 数据库。                                                                                                                                                                                                                  0              
2007-07-31 08:19:10.48 spid5     启动数据库“tempdb”。                                                                                                                                                                                                                  0              
2007-07-31 08:19:10.62 spid3     恢复完成。                                                                                                                                                                                                                           0              
2007-07-31 08:19:12.21 server    SQL Server 正在监听 Shared Memory, Named Pipes, Rpc。                                                                                                                                                                                0              
2007-07-31 08:19:12.21 server    SQL Server 已准备好进行客户端连接                                                                                                                                                                                                          0              
2007-07-31 08:24:34.81 spid51    使用 'xpstar.dll' 版本 '2000.80.194' 来执行扩展存储过程 'sp_MSgetversion'。                                                                                                                                                                   0              
2007-07-31 08:24:35.01 spid51    启动数据库“kgSQL”。                                                                                                                                                                                                                   0              
2007-07-31 08:24:35.15 spid51    启动数据库“msdb”。 
有经验的帮我看下,谢谢

#4


1、SQL打上 SP4 补丁 没?
2、端口问题,好像1433端口容易被屏蔽掉,检查防火墙 或着路由器、交换机设置
3、SQL用户权限,你用SA试试
可以使用ODBC数据源,检查是否可以连接。

#5


你打补丁了吗?
sp3或sp4

#6


SQL打上 SP4 补丁 没?


这个可能性大

#7


把连接的服务器名改为IP地址试试

#8


是认证方式的问题,msde安装时默认是“windows”身份认证的,也就是说只能本地连接,远程连接必须使用“SQL Server”身份,要把msde安装成支持SQL Server身份的,必须修改安装包的配置文件setup.ini
加上
SECURITYMODE=SQL

还有一个原因服务器端是否启用了防火墙?

#9


谢谢各位的参与
问题没有解决
问题核心依然是:服务器上的1433端口没有打开
查了很多资料 无招了

#10


还有个问题,是不是服务器上要加入sa帐户(在系统密码帐户管理里面)?

#11


远端的服务器的防火墙开了么?查查1433端口是不是被关了。如果被关了,在允许列表里添加1433端口即可。

#12


谢谢各位的参与
问题没有解决
问题核心依然是:服务器上的1433端口没有打开
查了很多资料 无招了
////

这个简单,你换个端口就行了 前些年有个蠕虫病毒就是靠这个端口传播的,很厉害。后来大部分交换机防火墙都会关闭或阻止这个端口

你点 开始--程序--MSSQL--服务器网络使用工具--然后点右边的TCP/IP 点属性 换个没有用的端口,然后重启服务就行了

#13


楼主说的是SQL2000吧? 
如果你的Win2003的系统,你用SQL2000的库,你得打Sp4的补丁 

一般情况下,1433端口默认是开着的 

#14


其他的就安这个步骤做,网上邻居->属性->本地连接->属性->INTERNET协议(TCP/IP)->属性->高级->选项T->CP/IP筛选->属性 

#15


我装的是msde2000(想简单点),sp4补丁也打了 还不行
现在改sql2000,问题依然,又装sp4补丁,行了,1433开了
我的系统是win2003,看来msde2000是不行的
谢谢各位
结贴!!

#16


做为服务器端,建议安装 sqlserver 2000,而不用msde,问题很多。
另外,你说的1433端口问题,我一直没有遇到过。考虑一下是否是操作系统问题。

#1


msde2000必須更改登陸模式,在注冊表中改,然後重啟sql server 服務

#2


这个我也改了
改成 SQL的身份验证方式
并修改了 sa 的密码
可就是不行

#3


日志:
2007-31 08:19:08.75 server    Microsoft SQL Server  2000 - 8.00.194 (Intel X86)                                                                                                                                                                               0              
Aug  6 2000 00:57:48                                                                                                                                                                                                                                            0              
Copyright (c) 1988-2000 Microsoft Corporation                                                                                                                                                                                                                   0              
Desktop Engine on Windows NT 5.2 (Build 3790: )                                                                                                                                                                                                                 0              
2007-07-31 08:19:08.76 server    Copyright (C) 1988-2000 Microsoft Corporation.                                                                                                                                                                                  0              
2007-07-31 08:19:08.76 server    保留所有权利。                                                                                                                                                                                                                         0              
2007-07-31 08:19:08.76 server    服务器进程 ID 是 1312。                                                                                                                                                                                                                0              
2007-07-31 08:19:08.76 server    将 SQL Server 消息记录在文件“C:\Program Files\Microsoft SQL Server\MSSQL\LOG\ERRORLOG”中。                                                                                                                                                0              
2007-07-31 08:19:08.89 server    SQL Server 正在以优先级“normal”(已检测到 1 CPU)启动。                                                                                                                                                                                        0              
2007-07-31 08:19:09.18 server    已为 thread 模式处理而配置了 SQL Server。                                                                                                                                                                                                  0              
2007-07-31 08:19:09.20 server    使用 dynamic 锁分配。[500] 锁块,[1000] 锁所有者块。                                                                                                                                                                                           0              
2007-07-31 08:19:09.29 spid3     启动数据库“master”。                                                                                                                                                                                                                  0              
2007-07-31 08:19:09.64 server    正在使用“SSNETLIB.DLL”版本“8.0.194”。                                                                                                                                                                                                  0              
2007-07-31 08:19:09.64 spid5     启动数据库“model”。                                                                                                                                                                                                                   0              
2007-07-31 08:19:09.65 spid3     服务器名称是“WUGONG”。                                                                                                                                                                                                                 0              
2007-07-31 08:19:09.65 spid3     Skipping startup of clean database id 4                                                                                                                                                                                         0              
2007-07-31 08:19:09.65 spid3     Skipping startup of clean database id 5                                                                                                                                                                                         0              
2007-07-31 08:19:09.87 spid5     清除 tempdb 数据库。                                                                                                                                                                                                                  0              
2007-07-31 08:19:10.48 spid5     启动数据库“tempdb”。                                                                                                                                                                                                                  0              
2007-07-31 08:19:10.62 spid3     恢复完成。                                                                                                                                                                                                                           0              
2007-07-31 08:19:12.21 server    SQL Server 正在监听 Shared Memory, Named Pipes, Rpc。                                                                                                                                                                                0              
2007-07-31 08:19:12.21 server    SQL Server 已准备好进行客户端连接                                                                                                                                                                                                          0              
2007-07-31 08:24:34.81 spid51    使用 'xpstar.dll' 版本 '2000.80.194' 来执行扩展存储过程 'sp_MSgetversion'。                                                                                                                                                                   0              
2007-07-31 08:24:35.01 spid51    启动数据库“kgSQL”。                                                                                                                                                                                                                   0              
2007-07-31 08:24:35.15 spid51    启动数据库“msdb”。 
有经验的帮我看下,谢谢

#4


1、SQL打上 SP4 补丁 没?
2、端口问题,好像1433端口容易被屏蔽掉,检查防火墙 或着路由器、交换机设置
3、SQL用户权限,你用SA试试
可以使用ODBC数据源,检查是否可以连接。

#5


你打补丁了吗?
sp3或sp4

#6


SQL打上 SP4 补丁 没?


这个可能性大

#7


把连接的服务器名改为IP地址试试

#8


是认证方式的问题,msde安装时默认是“windows”身份认证的,也就是说只能本地连接,远程连接必须使用“SQL Server”身份,要把msde安装成支持SQL Server身份的,必须修改安装包的配置文件setup.ini
加上
SECURITYMODE=SQL

还有一个原因服务器端是否启用了防火墙?

#9


谢谢各位的参与
问题没有解决
问题核心依然是:服务器上的1433端口没有打开
查了很多资料 无招了

#10


还有个问题,是不是服务器上要加入sa帐户(在系统密码帐户管理里面)?

#11


远端的服务器的防火墙开了么?查查1433端口是不是被关了。如果被关了,在允许列表里添加1433端口即可。

#12


谢谢各位的参与
问题没有解决
问题核心依然是:服务器上的1433端口没有打开
查了很多资料 无招了
////

这个简单,你换个端口就行了 前些年有个蠕虫病毒就是靠这个端口传播的,很厉害。后来大部分交换机防火墙都会关闭或阻止这个端口

你点 开始--程序--MSSQL--服务器网络使用工具--然后点右边的TCP/IP 点属性 换个没有用的端口,然后重启服务就行了

#13


楼主说的是SQL2000吧? 
如果你的Win2003的系统,你用SQL2000的库,你得打Sp4的补丁 

一般情况下,1433端口默认是开着的 

#14


其他的就安这个步骤做,网上邻居->属性->本地连接->属性->INTERNET协议(TCP/IP)->属性->高级->选项T->CP/IP筛选->属性 

#15


我装的是msde2000(想简单点),sp4补丁也打了 还不行
现在改sql2000,问题依然,又装sp4补丁,行了,1433开了
我的系统是win2003,看来msde2000是不行的
谢谢各位
结贴!!

#16


做为服务器端,建议安装 sqlserver 2000,而不用msde,问题很多。
另外,你说的1433端口问题,我一直没有遇到过。考虑一下是否是操作系统问题。