Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

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

Starting Member

United Kingdom
2 Posts

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

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>(
at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(

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?



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  
 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 1.32 seconds. Powered By: Snitz Forums 2000