System.InvalidOperationException SQLite
Reading LastInsertRowId
does not make sense if nothing has been inserted, so the exception is OK.
The connection string omits the directory from the file name, so the application will blow up unless the current directory happens to be just right.