SQLCipher with Entity Developer

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
Posts: 7
Joined: Mon 09 Sep 2013 07:11

SQLCipher with Entity Developer

Post by JohannNell » Wed 29 Jul 2015 06:41

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?

Site Admin
Posts: 8247
Joined: Thu 14 Aug 2008 12:44

Re: SQLCipher with Entity Developer

Post by Shalex » Thu 30 Jul 2015 14:50

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?

Post Reply