Exception in 64 bit environment

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for SQLite
Post Reply
Izhar
Posts: 1
Joined: Tue 08 Nov 2011 09:55

Exception in 64 bit environment

Post by Izhar » Tue 08 Nov 2011 12:21

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

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Thu 10 Nov 2011 16:04

We can reproduce the problem with cache.db neither in x86 nor in x64 environments.
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.
The capacity of your application and sqlite3.dll should coincide.
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)

Post Reply