Page 1 of 1

SQLCipher with Entity Developer

Posted: Wed 29 Jul 2015 06:41
by JohannNell
Good afternoon,
I am trying to use a SQLCipher encrypted database with Entity Developer (From inside Visual Studio 2013). When I try to open the file, I get the following error:

File opened that is not a database file file is encrypted or is not a database.

I have replace the sqlite3.dll in c:\windows\system32, and I have selected SQLCipher with the correct key in ED's Advanced connection property dialog.

Is there anything else I need to do to be able to open the encrypted database?
Regards,
Johann

Re: SQLCipher with Entity Developer

Posted: Thu 30 Jul 2015 14:50
by Shalex
We cannot reproduce the problem using the database file created with your test project. Please make sure that you set "Data Source=%path%, Encryption=SQLCipher, Password=%correct_password%" in your connection string via Connection Editor of Entity Developer.

If this doesn't help, send us your database file (and specify its password). Are you able to open your database file via the code and query some data?