SQLite Forum

SQLite.Interop.dll is not loading due to its dependency binaries are missing in windows server core OS
Login

SQLite.Interop.dll is not loading due to its dependency binaries are missing in windows server core OS

(1) By anurag on 2021-08-24 11:32:10 [source]

I am using System.Data.SQLite.dll(1.0.113.0) which calls SQLite.Interop.dll and have a very simple application just to read and write in a table. The process could not load SQLite.Interop.dll on windows server core 2019(without desktop experience ) due to its dependent DLLs not being present in this version of the operating system. In Windows 10, Windows 7, Windows 2019 server with the desktop experience, it is loaded properly and everything works fine.

Do you know any workaround or any fix to address this issue?

(2) By mistachkin on 2021-08-24 16:28:43 in reply to 1 [link] [source]

Maybe try one of the pre-compiled binary packages instead of the NuGet package?

https://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki

(4) By anurag on 2021-08-25 10:19:08 in reply to 2 [link] [source]

Thanks for your reply, yes I am using pre-compiled binaries only.

(3) By Keith Medcalf (kmedcalf) on 2021-08-24 22:04:15 in reply to 1 [link] [source]

Use the dependency walker to find out what DLL you are missing and install it.

(5) By anurag on 2021-08-25 10:21:32 in reply to 3 [link] [source]

I found the issue by dependency walker tool only and they are system libraries, can't install them manually on the c:WindowsSystem32 folder.