起步软件技术论坛-X3

 找回密码
 立即注册
搜索
查看: 138|回复: 4

【搞定】配置服务器出错:错误信息如图**

[复制链接]
发表于 2007-12-10 10:29:48 | 显示全部楼层 |阅读模式
出错信息:Unable to get infomation from SQL Server:127.0.0.1

picture.png

31.42 KB, 下载次数: 92

回复

使用道具 举报

发表于 2007-12-10 10:37:42 | 显示全部楼层
Unable to get information from SQL Server: 127
.0.0.1.
http://jtds.sourceforge.net/faq.html#instanceGetInfo


Why do I get a java.sql.SQLException: "Unable to get information from SQL Server" when trying to connect to an SQL Server instance?

The exception you are getting is usually caused by a timeout. When connecting to named instances jTDS needs to connect via UDP to port 1434 to get information about available SQL Server instances. While doing this it times out, throwing the exception you see (which means that jTDS was not able to get information about the running instances).

Connection timeouts occur when there is no server listening on the port (BTW, are you sure your SQL Server is configured to use TCP/IP and that you actually use named instances?).

On SQL Server 2005 the SQL Browser service must be running on the server host as the instance name lookup port UDP 1434 is hosted by this service on SQL Server 2005 rather than the SQL Server itself. The default install does not configure the SQL Browser service to start automatically so you must do it manually.

你看看1434端口是否已经打开
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-10 10:59:48 | 显示全部楼层
谢谢
继续关注
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-10 11:02:31 | 显示全部楼层
报错

picture1.png

35.06 KB, 下载次数: 97

回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-10 11:20:53 | 显示全部楼层
问题已解决,谢谢关注!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Justep Inc.

GMT+8, 2025-7-2 04:34 , Processed in 0.043380 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表