Side bar a little bit. If I remember correctly the installed folder doesn't allow files to be written to it by default. So if your opening / creating a new SQL lite file you might have to create it in a folder that has read/write permissions. Your application build folder is already read/write.
-Mark