Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v2.1
  HXTT DBF v5.2
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan 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
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap