System.Data.SQLite
View Ticket
Not logged in
Ticket UUID: e486f6be57d2d33e56317e8600d13bf2998597bd
Title: Unable to find an entry point named 'sqlite3_key' in DLL 'System.Data.SQLite.DLL'
Status: Closed Type: Code_Defect
Severity: Important Priority: High
Subsystem: Legacy_CryptoAPI Resolution: Fixed
Last Modified: 2016-02-15 19:30:08
Version Found In: a512f4ae40a04108
Description:
I have tried various branches and leaves from when the System.Data.SQLite project was moved to this new location, and all of the builds I have successfully made have this same issue upon attempting to connect to a DB that works fine with the last release of System.Data.SQLite from http://sqlite.phxsoftware.com.

The error info is: Unable to find an entry point named 'sqlite3_key' in DLL 'System.Data.SQLite.DLL'. Inner Exception -- Data: System.Collections.ListDictionaryInternal Inner Exception -- Source: System.Data.SQLite Inner Exception -- Stack Trace: at System.Data.SQLite.UnsafeNativeMethods.sqlite3_key(IntPtr db, Byte[] key, Int32 keylen) at System.Data.SQLite.SQLite3.SetPassword(Byte[] passwordBytes) at System.Data.SQLite.SQLiteConnection.Open()


anonymous added on 2011-04-22 18:57:38 UTC:
Is anyone able to provide any info or guidance on how to resolve this?

The new release posted to the new download page has the same issue as described in this item.

In this thread Robert pointed out that he implemented the encryption as part of the managed part of System.Data.SQLite: http://sqlite.phxsoftware.com/forums/p/1508/9143.aspx

Can anyone provide any info on what is causing the new releases to no longer support the encryption that Robert implemented?

Thank you.


anonymous added on 2011-04-22 21:44:13 UTC:
Try defining SQLITE_HAS_CODEC


shane added on 2011-04-23 23:42:40 UTC:
Fixed in [c3a442319f].