mojoportal icon indicating copy to clipboard operation
mojoportal copied to clipboard

Ship 64bit sqlite instead of 32bit

Open SinaBina opened this issue 1 year ago • 3 comments

In a clean installation under SQLite data-layer the following error is shown before setup. Further investigation showed that under 64bit OS the sqlite runtime need to be replaced by 64bit sqlite3.dll.

Screenshot 2023-06-10 at 11-42-04 An attempt was made to load a program with an incorrect format  (Exception from HRESULT 0x8007000B)

The following version fixed the issue: https://www.sqlite.org/2023/sqlite-dll-win64-x64-3420000.zip

SinaBina avatar Jun 10 '23 08:06 SinaBina

Another fix for this is to set the "Enable 32-bit Applications" option on the application pool.

Do you think we should ship the 64-bit version instead of the 32-bit version?

JosephMDavis avatar Aug 04 '23 21:08 JosephMDavis

I think 32-bit is now legacy and the default settings should be based on 64-bit binaries.I also haven't found any issues using 64-bit Sqlite so far.

SinaBina avatar Aug 09 '23 05:08 SinaBina

We'll start shipping 64-bit. Thank you!

JosephMDavis avatar Aug 09 '23 18:08 JosephMDavis