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

 All Forums
 General SQL Server Forums
 Data Corruption Issues
 Connection refused, and ODBC Datasource corruption

Author  Topic 

ai12345
Starting Member

2 Posts

Posted - 2009-12-08 : 11:21:51
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

5072 Posts

Posted - 2009-12-08 : 12:36:12
using a valid login? server is set to allow remote connections? are u using windows or sql authentication?
Go to Top of Page
   

- Advertisement -