Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v5.0
  HXTT DBF v7.1
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.0
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT ACCESS
HXTT Access driver
Vladimir Lyakhovich
2007-02-05 15:37:50.0
I use com.hxtt.sql.access.AccessDriver to connect
from Java program in Linux environment to
MS Access database located:
Domain: DOC
Server: hud-aiu-srv1\aiubkp (10.240.178.51)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Class.forName("com.hxtt.sql.access.AccessDriver");
1). conn = DriverManager.getConnection("jdbc:access://///10.240.178.51//hud-aiu-srv1\\aiubkp\\05-Friday\\NYCDOC.mdb");
Exception:
java.sql.SQLException: //10.240.178.51//hud-aiu-srv1\aiubkp\05-Friday\NYCDOC.mdb doesn't exist or can't be accessed!

Why it can not be accessed ?
The statement is correct ?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2). conn = DriverManager.getConnection("jdbc:access://DOC:3099:/hud-aiu-srv1\\aiubkp\\05-Friday\\NYCDOC.mdb");

Exception: Invalid port number: 3099.

What port number to be used ?

Regards
Vladimir Lyakhovich
Re:HXTT Access driver
Vladimir Lyakhovich
2007-02-05 15:38:58.0
use com.hxtt.sql.access.AccessDriver to connect
from Java program in Linux environment to
MS Access database located:
Domain: DOC
Server: hud-aiu-srv1\aiubkp (10.240.178.51)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Class.forName("com.hxtt.sql.access.AccessDriver");
1). conn = DriverManager.getConnection("jdbc:access://///10.240.178.51//hud-aiu-srv1\\aiubkp\\05-Friday\\NYCDOC.mdb");
Exception:
java.sql.SQLException: //10.240.178.51//hud-aiu-srv1\aiubkp\05-Friday\NYCDOC.mdb doesn't exist or can't be accessed!

Why it can not be accessed ?
The statement is correct ?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2). conn = DriverManager.getConnection("jdbc:access://DOC:3099:/hud-aiu-srv1\\aiubkp\\05-Friday\\NYCDOC.mdb");

Exception: Invalid port number: 3099.

What port number to be used ?

Regards
Vladimir Lyakhovich
Re:Re:HXTT Access driver
HXTT Support
2007-02-05 17:19:09.0
>1). conn = DriverManager.getConnection("jdbc:access://///10.240.178.51//hud-
>aiu-srv1\\aiubkp\\05-Friday\\NYCDOC.mdb");
>Exception:
>java.sql.SQLException: //10.240.178.51//hud-aiu-srv1\aiubkp\05-
>Friday\NYCDOC.mdb doesn't exist or can't be accessed!
Are you accessing Windows file from Linux? It's security issue. You need to login manually Windows SAMBA service, or use SAMBA table.

>2). conn = DriverManager.getConnection("jdbc:access://DOC:3099:/hud-aiu-srv1
>\\aiubkp\\05-Friday\\NYCDOC.mdb");
>Exception: Invalid port number: 3099.
Wrong url. First, ://DOC:3099:/ should be ://DOC:3099/ . Secondly, you should run An AccessServer at doc:3099.


Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap