Unable to load DLL 'SQLite.Inter The specified module could not be found

0

Error #1: Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E).

What is causing this problem? And how to fix this issue please let me know the details.

We are trying to use the SQLite database in C# Application, to develop a C# application I am using Visual Studio 2015, System.Data.SQLite Version 1.0.108. After building the project I am facing the following issue:

enter image description here

c#
asked on Stack Overflow May 15, 2018 by chinnathambi chinnathambi • edited Nov 10, 2020 by Cena

1 Answer

1

I had this problem as well, and this fixed it for me:

Try to install the NuGet package to your project where you use SQLite classes and also install Sqlite.Core to your main project even if it does not have any SQLite classes. Based on this: SQLlite error

Go to Tools -> NuGet Package Manager -> Manage NuGet Packages for Solution -> Online -> All. Then search there for SQLite and add System.Data.SQLite Core to your Startup project.

answered on Stack Overflow May 15, 2018 by G43beli

User contributions licensed under CC BY-SA 3.0