NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Unable to connect SQL 2005 in Netbean

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
adrianclw



Joined: 30 Oct 2009
Posts: 3

PostPosted: Fri Nov 06, 2009 8:01 am    Post subject: Unable to connect SQL 2005 in Netbean Reply with quote

Hi,
Previously my jdbc SQL Server 2005 is able to connect to my local database. But now it got this error when I try to connect under the Services>Database

Code:

Unable to connect. Cannot establish a connection to jdbc:sqlserver....
(The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "RSA premaster secret error".)


Previously everything working fine. Right after I install Sun Application Server 8.2 (at different path, to get the appserv-rt.jar due to I need a JDK 1.4.2 version). I had uninstalled it. Not sure is it when i install that AS caused some changes for the GlassFish 2.1.

My Netbean is using JDK 1.5. Now all my application cannot connect. I'm using GlassFish 2.1.

Please advise.
Thanks.[/code]
Back to top
adrianclw



Joined: 30 Oct 2009
Posts: 3

PostPosted: Wed Nov 11, 2009 6:36 am    Post subject: Reply with quote

Decided to reinstall the Netbean and update my JDK 5.0 to update 22.
Now don't have the error already.
Thanks.
Back to top
hantsy



Joined: 27 Aug 2008
Posts: 39

PostPosted: Fri Nov 13, 2009 1:05 pm    Post subject: Unable to connect SQL 2005 in Netbean Reply with quote

On 11/11/2009 02:36 PM, adrianclw wrote:
Quote:
Decided to reinstall the Netbean and update my JDK 5.0 to update 22.
Now don't have the error already.
Thanks.







UML module project seems dead... it hasnt bean updated for a long time...


--
Hantsy Bai
Guangzhou, China
http://hantsy.blogspot.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo