Error using SQLCipher on Windows Server 2016

When using SQLCipher on Win10 LTSC 2019 (11/13/2018 Win10 v1809), Win10 Insider edition, or Windows Server 2016, database fails with the following error:

CoreCLR Version: 4.6.27617.5
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AggregateException: One or more errors occurred. (Unable to load DLL ‘sqlcipher’ or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)) —> System.DllNotFoundException: Unable to load DLL ‘sqlcipher’ or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at SQLitePCL.SQLite3Provider_sqlcipher.NativeMethods.sqlite3_libversion_number()
at SQLitePCL.SQLite3Provider_sqlcipher.SQLitePCL.ISQLite3Provider.sqlite3_libversion_number()
at SQLitePCL.raw.SetProvider(ISQLite3Provider imp)

Using the application and SQLCipher on Windows10 machine, I have no issues.

Hello @farnkh - Can you please verify that the Microsoft Visual C++ 2010 SP1 redistributable packages are installed on the target machines you are testing on? If that is not installed it could cause the error you are seeing.

Please also feel free to reach out to us directly at support@zetetic.net since your organization has a private support agreement.

Thanks! That was the issue.