Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  Buy Now
  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)

Password error
Philippe Gervaise
2016-08-26 08:18:38.0

I use HXTT Access v5.2.160 (Access_JDBC30.jar) and when I try do a simple query I got a password error :

Exception in thread "main" java.sql.SQLException: The password is error!
at Source)
at com.hxtt.sql.access.m.a(Unknown Source)

My code is :

Connection con = DriverManager.getConnection("jdbc:Access:/C:/test.mdb", "", "");
Statement stm = con.createStatement();
ResultSet rs = stm.executeQuery("SELECT COUNT(*) FROM PPERSON");;

Please note that this code is working with HXTT Access v5.2.050 !

Thank you.
Re:Password error
HXTT Support
2016-08-27 04:20:46.0
Your test.mdb has a password? If not, please provide us your mdb sample.
Re:Re:Password error
philippe gervaise
2016-08-27 14:49:41.0
None of our databases has a password.

Here there is a "test.mdb" where the problem occurs :
Re:Re:Re:Password error
HXTT Support
2016-08-28 04:32:47.0
Thanks. Supported. Please download the latest package.
Re:Re:Re:Re:Password error
Philippe gervaise
2016-08-28 07:47:29.0
It works for the test database but for our real one (production database) it doesn't works !

I still got that Exception :

Exception in thread "main" java.sql.SQLException: The password is error!
at com.hxtt.b.ak.a(Unknown Source)
at com.hxtt.sql.access.m.a(Unknown Source)

Again we never use any password.
Please not again that your library version 5.2.050 is working as expected
with our production database. I don't know what you did in the last release (5.2.161) but there is again bad cases left.

I can't provide our production database for tests. Also I wan't to be sure that the error can't reappear in the futur with another database.

I don't know if it minds but if I compact our production database then your library is able to reach it (until when ?). Anyway we can't compact our production database because of heavy use. An when trying to PACK with HXTT it write that it fails.
Re:Re:Re:Re:Re:Password error
Philippe gervaise
2016-08-28 16:09:08.0
I got a test case for the problem : we have that problem for 9 databases after testing 20 databases.

So the database :

Tested with that code :

DriverManager.getConnection("jdbc:access:///d:/data/access/datapen2000_test_password_error.mdb").createStatement().executeQuery("SELECT COUNT(*) FROM employee");

And got :

Exception in thread "main" java.sql.SQLException: The password is error!
at com.hxtt.b.ak.a(Unknown Source)
Re:Re:Re:Re:Re:Re:Password error
HXTT Support
2016-08-28 22:26:49.0
Sorry. Supported now. Please download it.
Re:Re:Re:Re:Re:Re:Re:Password error
Philippe Gervaise
2016-08-29 07:02:03.0
It works.

Thank you for your prompt reply.

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