Hi,
i m trying to connect with Ms Access remotly but it is giving the following exception...........
java.sql.SQLException: Failed to connect to remote database: java.sql.SQLException: Failed to get response from remote server: java.net.ConnectException: Connection refused: connect
at com.hxtt.global.SQLState.SQLException(Unknown Source)
at com.hxtt.sql.remote.RemoteDriver.int(Unknown Source)
at com.hxtt.sql.remote.RemoteDriver.connect(Unknown Source)
at com.hxtt.global.SQLState.getConnection(Unknown Source)
at com.hxtt.sql.HxttDriver.getRemoteAccessConnection(Unknown Source)
at com.hxtt.sql.HxttDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at mypackage1.HXTTConn.main(HXTTConn.java:29)
i hv spent lot of time in it pls help me out......
i m using the following code.....
Class.forName("com.hxtt.sql.access.AccessDriver").newInstance();
String connectionURL= "jdbc:access://192.100.100.37:3099//c:/data/MyData" ;
conn=DriverManager.getConnection(connectionURL,"","");
i dont understand where i m getting wrong.
|
>remote server: java.net.ConnectException: Connection refused: connect
You should haven't run an AccessServer on 192.100.100.37:3099 . Please read DBAdmin (A GUI Dtabase Server Manager) and Run HXTT AccessServer as Windows Service or Linux(Solaris) Daemon.
|