Sqlcipher version 3.8.0.2 2013-09-03 17:11:13 , visual studio 2013, entity framework


#1

Hi sqlcipher support team,
We bought sqlcipher version 91.0.88.0 last year.
We are having some problems integrating it with visual studio 2013 & entity framework.

To generate the entity models using sqlite & visual studio 2013, we had to install sqlite using nugets.
It also installed System.Data.SQLite.EF6.1.0.94.0, which is needed to generate the models in visual studio 2013

We were able to generate everything that we need.
When we run the application we have a sqliconnection cast exception.
I think this is due to the fact that the sqlite version used to generate the models (version 1.0.94.0 ) is different from the sqlcipher version, which is 91.0.88.0

What do we need to do to get this working? Do you have any version of sqlcipher that is compatible with sqlite 1.0.94.0?
The exception log is below.

Please note that we were to get this to work last year, but we were visual studio 2010.

Thank you,
[A]System.Data.SQLite.SQLiteConnection cannot be cast to [B]System.Data.SQLite.SQLiteConnection. Type A originates from ‘System.Data.SQLite, Version=91.0.88.0, Culture=neutral, PublicKeyToken=2afdc9349188e576’ in the context ‘Default’ at location ‘C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\synergy\225e3fee\b292ea2e\assembly\dl3\c4362efe\a79e5fbe_fa28d001\System.Data.SQLite.dll’. Type B originates from ‘System.Data.SQLite, Version=1.0.94.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139’ in the context ‘Default’ at location ‘C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data.SQLite\v4.0_1.0.94.0__db937bc2d44ff139\System.Data.SQLite.dll’.


#2

Hello @jeand

I just replied to your email from within our support system, please feel free to respond there when you can. Thanks!


#3

I have de same problem…was solved?


#4

Hello @marcioluizramos

I believe I just replied to a direct support email you sent in regarding this. If this is not the case, please feel free to create a new discuss post, or contact us directly at support@zetetic.net.