#1
Database myDatabase = new GHI.SQLite.Database(); //
This (above) works fine. It creates a database to RAM.
#2
Database myDatabase = new GHI.SQLite.Database("\SD\Database.dat");
This cause an error:
"#### Exception GHI.SQLite.Database+OpenException - 0x00000000 (1) ####
#### Message:
#### GHI.SQLite.Database::.ctor [IP: 002b] ####
#### MFConsoleApplication1.DataBase::.ctor [IP: 000c] ####
#### MFConsoleApplication1.Program::Main [IP: 0025] ####
A first chance exception of type ‘GHI.SQLite.Database.OpenException’ occurred in GHI.SQLite.dll
An unhandled exception of type ‘GHI.SQLite.Database.OpenException’ occurred in GHI.SQLite.dll
Uncaught exception
The thread ‘’ (0x1) has exited with code 0 (0x0).
Done.
…
So problem is related to SD card and the creation of database in to it.