Unable open database

Jun 1, 2011 at 10:16 PM
Edited Jun 1, 2011 at 10:17 PM

Hi, im working with this tool but i have a problem,

I’m unable to open the Database.

It always crashes at the last Line with the Exceptionmessage “unable to open database file”.

Error is thrown in SQLiteClient.cs by this Method:

Sqlite3.Vdbe Prepare()
{
Sqlite3.Vdbe ppStmt=new Sqlite3.Vdbe();
int n=Sqlite3.sqlite3_prepare_v2(_db, CommandText, CommandText.Length, ref ppStmt, 0);
if ( n!= Sqlite3.SQLITE_OK)
throw new SQLiteException(n,SQLiteLastError());
BindAll(ppStmt);// here crashes
return ppStmt;
}

thanks!