java - Error while connecting to SQL database -
i getting following error while connecting ms sql 2008 r2
specific server, other severs works fine.
com.microsoft.sqlserver.jdbc.sqlserverexception: driver not establish secure connection sql server using secure sockets layer (ssl) encryption. error: "sql server returned incomplete response. connection has been closed.".
the following code connect database:
class.forname("com.microsoft.sqlserver.jdbc.sqlserverdriver"); conn = drivermanager.getconnection(db_info, db_userid, db_password);
Comments
Post a Comment