Results 1 to 2 of 2
  1. #1
    lkmaurik is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2011
    Posts
    10

    OLE Db Encryption error

    Hello all,

    I've got a weird error when I'm opening a encrypted database made with acces 2010 with oledb.

    I used the next string to open a Accdb file with an password:
    "Provider=Microsoft.ACE.OLEDB.12.0;Data Source= C:\\Users\\lab\\Desktop\\Access\\test.accdb;JET OLEDB:database Password=TestPw"

    When I open the database I get the next error:


    Exception type: System.data.Oledb.OledbExeption
    The encryption is not valid.

    But.... when I opened an encrypted db made with access 2007 it opens.
    And... when I opened an unencrypted db made with access 2010 it opens.

    So the problem is an encrypted database made with access 2010.

    Thanks in advance,

    Leroy

  2. #2
    lkmaurik is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2011
    Posts
    10
    Temp solution
    Well problem is temporary solved.

    I changed in the options the encryption method to old version encryption.

    options > Client Settings > advanced > Encryption method > change to old version encryption.

    Now I can open access files made with access 2010
    Hopefully there is an other sulution were i can use the newest encryption method.
    Leroy

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 8
    Last Post: 05-16-2011, 06:01 PM
  2. Replies: 1
    Last Post: 05-16-2011, 01:34 PM
  3. Error 438 error in Access 97
    By Bones in forum Access
    Replies: 3
    Last Post: 01-05-2011, 10:12 PM
  4. Replies: 2
    Last Post: 12-02-2010, 02:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums