Search code examples
c#entity-frameworksqlitevisual-studio-2015ef-database-first

SQLite database first with entity framework in VS 2015 Community Edition


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.


Solution

  • 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