Hi.
When trying to load the following database:
http://www.2shared.com/file/pCZ9GZ43/cache.html
we get the following exception:
Devart.Data.SQLite.SQLiteException: SQLite error
no such module: rtree
at Devart.Data.SQLite.a3.a(Byte[] A_0, UInt32 A_1, Byte[]& A_2)
at Devart.Data.SQLite.bs.a(Byte[] A_0)
at Devart.Data.SQLite.r.b()
at Devart.Data.SQLite.SQLiteDataReader.c()
at Devart.Data.SQLite.SQLiteCommand.InternalExecute(CommandBehavior behavior, IDisposable statement, Int32 startRecord, Int32 maxRecords)
at Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior, Boolean nonQuery)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
This does hot happen when running on 32bit environment. Can anyone help me please.
Kind regards,
Izhar
Exception in 64 bit environment
We can reproduce the problem with cache.db neither in x86 nor in x64 environments.
1. Check the mode (x86 or x64) of the process your application is running in via Windows Task Manager (the Processes tab).
2. Ensure that you have deployed your application with the compatible version of the engine library sqlite3.dll. We ship dotConnect for SQLite with both versions of sqlite3.dll:
- %ProgramFiles%\Devart\dotConnect\SQLite\sqlite3.dll (x86)
- %ProgramFiles%\Devart\dotConnect\SQLite\x64\sqlite3.dll (x64)
The capacity of your application and sqlite3.dll should coincide.Izhar wrote:Devart.Data.SQLite.SQLiteException: SQLite error
no such module: rtree
...
This does hot happen when running on 32bit environment. Can anyone help me please.
1. Check the mode (x86 or x64) of the process your application is running in via Windows Task Manager (the Processes tab).
2. Ensure that you have deployed your application with the compatible version of the engine library sqlite3.dll. We ship dotConnect for SQLite with both versions of sqlite3.dll:
- %ProgramFiles%\Devart\dotConnect\SQLite\sqlite3.dll (x86)
- %ProgramFiles%\Devart\dotConnect\SQLite\x64\sqlite3.dll (x64)