Menu

Cannot open encrypted Access 2010 accdb

Help
2012-01-06
2013-08-13
  • Shung-yu Mui

    Shung-yu Mui - 2012-01-06

    I can open a password protected Access 2000 mdb with the following code
    fragment.

    Database.open(new File("my.mdb"), false, false, null, null, new
    CryptCodecProvider("myPassword"));

    However when I tried to open a password encrypted Access 2010 accdb I get the
    following exception,

    java.io.IOException: Unrecognized map type: -100

    at com.healthmarketscience.jackcess.UsageMap.initHandler(UsageMap.java:145)

    at com.healthmarketscience.jackcess.UsageMap.read(UsageMap.java:133)

    at
    com.healthmarketscience.jackcess.PageChannel.initialize(PageChannel.java:103)

    at com.healthmarketscience.jackcess.Database.<init>(Database.java:762)

    at com.healthmarketscience.jackcess.Database.open(Database.java:587)

    ...

     
  • James Ahlborn

    James Ahlborn - 2012-01-06

    unfortunately, i don't believe access 2007+ security is supported at this
    time. feel free to file a feature request. (by the way, you don't need a
    password for an Access 2000 database).

     
  • James Ahlborn

    James Ahlborn - 2012-01-12

    Any chance you could file a feature request and include a sample encrypted db
    and password?

     
  • James Ahlborn

    James Ahlborn - 2013-08-13

    Note that as of version 1.0.4, jackess encrypt supports office 2007/2010 encryption.

     

Log in to post a comment.