SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Data Corruption Issues
 Connection refused, and ODBC Datasource corruption
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ai12345
Starting Member

United Kingdom
2 Posts

Posted - 12/08/2009 :  11:21:51  Show Profile  Reply with Quote
Hi,

I have a Java application which connects to sql server using JDBC. I have connected to mnay sql servers and the applciation has worked fine. However this one instance i have got the following error:

java.sql.SQLException: Network error IOException: Connection refused: connect
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:385)
at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50)


No only has it produced the above error, but it seems that it corrupts the ODBC datasource. So we roll back to a backed up version. I execute no query, just try and connect to the database. I have no idea and have googled all day... Any ideas?

regards

russell
Pyro-ma-ni-yak

USA
5072 Posts

Posted - 12/08/2009 :  12:36:12  Show Profile  Visit russell's Homepage  Reply with Quote
using a valid login? server is set to allow remote connections? are u using windows or sql authentication?

Edited by - russell on 12/08/2009 12:36:34
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000