ssh 中用sqlserver数据库报错 Prelogin error

J2EE 码拜 9年前 (2015-04-03) 3817次浏览 0个评论
 

八月 14, 2012 8:18:55 下午 com.microsoft.sqlserver.jdbc.SQLServerConnection Prelogin
警告: ConnectionID:4 Prelogin error: host localhost port 1434 Unexpected end of prelogin response after 0 bytes read
八月 14, 2012 8:18:56 下午 com.microsoft.sqlserver.jdbc.SQLServerConnection Prelogin
警告: ConnectionID:4 Prelogin error: host localhost port 1434 Error reading prelogin response: Connection reset
八月 14, 2012 8:18:56 下午 com.microsoft.sqlserver.jdbc.SQLServerConnection Prelogin
警告: ConnectionID:4 Prelogin error: host localhost port 1434 Error reading prelogin response: Connection reset
八月 14, 2012 8:18:57 下午 com.microsoft.sqlserver.jdbc.SQLServerConnection Prelogin
警告: ConnectionID:4 Prelogin error: host localhost port 1434 Error reading prelogin response: Connection reset
八月 14, 2012 8:18:57 下午 com.microsoft.sqlserver.jdbc.SQLServerConnection Prelogin
警告: ConnectionID:4 Prelogin error: host localhost port 1434 Error reading prelogin response: Connection reset
八月 14, 2012 8:18:58 下午 com.microsoft.sqlserver.jdbc.SQLServerConnection Prelogin
警告: ConnectionID:4 Prelogin error: host localhost port 1434 Error reading prelogin response: Connection reset
八月 14, 2012 8:18:58 下午 com.microsoft.sqlserver.jdbc.SQLServerConnection Prelogin
警告: ConnectionID:4 Prelogin error: host localhost port 1434 Error reading prelogin response: Connection reset

第一次存入sqlserver数据库没问题,接下来就存不进去,myeclipse不停地跳这个错误 ,求帮忙

ssh 中用sqlserver数据库报错 Prelogin error
20分
端口对的吗?sqlserver默认端口是1433吧
ssh 中用sqlserver数据库报错 Prelogin error
sqlserver2008 用1434端口测试的时侯存储数据没有问题,用1433端口直接没法连接数据库,昨晚试了下oracle也没问题,就sqlserver不行,网上看了下也有遇到类似问题,没找到解决方法
ssh 中用sqlserver数据库报错 Prelogin error
10分
驱动的问题  换个低版本的
ssh 中用sqlserver数据库报错 Prelogin error
问题已解决,原因是:sqlserver 网络配置中的tcp/Ip属性里127.0.0.1 的 活动没选择,应该选择是,这样对应的1433端口就可使用了,而不是1434
ssh 中用sqlserver数据库报错 Prelogin error
10分
id没有自增吧?
ssh 中用sqlserver数据库报错 Prelogin error
id都设为 @GeneratedValue  自增的
ssh 中用sqlserver数据库报错 Prelogin error
我按照你说的,把活动都选择为“是”。但数据库连接过程中还是出现警告:
六月 11, 2013 4:50:55 下午 com.microsoft.sqlserver.jdbc.SQLServerConnection Prelogin
WARNING: ConnectionID:1 ClientConnectionId: 3e73c17d-40b9-400c-b0b4-27297e54494d Prelogin error: host localhost port 1433 Unexpected response type:68
ssh 中用sqlserver数据库报错 Prelogin error
活动选择选择活动

CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明ssh 中用sqlserver数据库报错 Prelogin error
喜欢 (0)
[1034331897@qq.com]
分享 (0)

文章评论已关闭!