1

I want to create WPF application that will use SQLite database with Entity framework. I googled and found these Link1, Link2, Link3 that says i need to install sqlite-netFx46-setup-bundle-x64-2015-1.0.99.0.exe. Now when i am trying to connect to Database i am getting following error. SQLite Error

I googled but could not find any solutions. Please help to solve this error.

3
  • What code are you using to connect to the database?
    – Gilgamesh
    Feb 5, 2016 at 14:04
  • I haven't wrote a single code. What i did is 1) Created New WPF Poject 2)Added NuGet packages of Entity Framework then added SQLite packages. 3)Tools>>Connect To Database>>Select SQLite DB When i click "ok" i am facing that error. Feb 6, 2016 at 5:44
  • @Gilgamesh am i doing anything wrong or skipped any step? Feb 16, 2016 at 7:41

1 Answer 1

0

I Had this exact issue, Mine was cause by having an older version previously installed In :

"C:\Program Files (x86)\System.Data.SQLite\2010"

Uninstalling this and then deleting the directory, followed by reinstalling the newer 2015 version Fixed it, Hope this helps Link below is from where i found my solution

http://system.data.sqlite.org/index.html/tktview/8b77722ff3b0e766fce4db053f3a62d09af942e7

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.