Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.135
  HXTT Cobol 5.0.135
  HXTT DBF 7.1.136
  Buy Now
  HXTT Excel 6.1.139
  HXTT Json 1.0.107
  HXTT Paradox 7.1.135
  HXTT PDF 2.0.135
  HXTT Text(CSV) 7.1.135
  HXTT Word 1.1.135
  HXTT XML 4.0.136
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)

Getting error while connecting to MDB file
Ravi Jagtap
2007-06-22 06:22:52.0
I am using Oracle2Access V1.2 API for connecting to the MDB file from my JAVA application. But i am getting an error

java.sql.SQLException: D:/tempDB.mdb; doesn't exist or can't be accessed!
at Source)
at Source)
at com.hxtt.sql.access.n.(Unknown Source)
at com.hxtt.sql.access.EmbeddedDriver.connect(Unknown Source)
at Source)
at com.hxtt.sql.HxttDriver.if(Unknown Source)
at com.hxtt.sql.HxttDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(
at java.sql.DriverManager.getConnection(
at dc.ImportOracleData.(
at dc.ImportOracleData.main(

The database is in D:\ drive (D:\tempDB.mdb) which is same i have given in the application. But i am getting the above mentioned error.
Please help me to sort this out
Re:Getting error while connecting to MDB file
HXTT Support
2007-06-22 09:43:38.0
Please redownload the EMBOracle2Access_WithDRV.jar package or EMBOracle2Access_WithoutDRV.jar package.

We have fixed this problem.

You can run the follows test sample code to export data.

public static void main(String[] args) throws SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException {
//exportTableToAccess2003(String schemaName, String tableName, String targetDirectory, String targetTableName, String targetConnPar) throws SQLException {
Connection aConn = null;
try { Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
aConn = DriverManager.getConnection("jdbc:oracle:thin:test/test@");;,"kf_csb","h:/tmp/new.mdb","BTABLE",null);

//must recall setConnection function;,"kf_ggtc","h:/tmp/new.mdb","KF_GGTC",null);
catch(Exception ee ) {
if (aConn!=null) aConn.close();

Re:Getting error while connecting to MDB file
HXTT Support
2007-06-22 09:50:05.0
If this errors happened still, maybe the Access MDB file has damaged or be a unsupported mdb format.

Please sent your tempDB.mdb file to our email box.

Search Key   Search by Last 50 Questions


Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap