Re: [sqlite] Sqlite on Windows 8.1 Metro Application returning CannotOpen Error

2013-09-25 Thread Dave Protasowski
False alarm - the wrapper lib bundled in our repo was an older revision that was not calling sqlite3_win32_set_directory After updating to the latest it's resolved. Link for reference if anyone else is looking for the source

Re: [sqlite] Sqlite on Windows 8.1 Metro Application returning CannotOpen Error

2013-09-19 Thread Joe Mistachkin
Dave Protasowski wrote: > > I'm using this library the relevant code snippet is: > https://github.com/koush/sqlite-net/blob/master/src/SQLite.cs#L150 > > While debugging I've confirmed that the call to SetDirectory is > returning SQLITE_OK (0). > Are you setting the temporary directory to a

Re: [sqlite] Sqlite on Windows 8.1 Metro Application returning CannotOpen Error

2013-09-19 Thread Dave Protasowski
> For the first argument to sqlite3_win32_set_directory(), are you passing a > > value of SQLITE_WIN32_TEMP_DIRECTORY_TYPE (which equals 2)? Yes > Is the call to sqlite3_win32_set_directory() being executed prior to opening > > the database and is it returning SQLITE_OK? > Yes to both I'm

Re: [sqlite] Sqlite on Windows 8.1 Metro Application returning CannotOpen Error

2013-09-19 Thread Joe Mistachkin
Dave Protasowski wrote: > > I found this page describing how sqlite on Windows RT should set the temp > file directory. http://www.sqlite.org/c3ref/temp_directory.html > > I'm using sqlite3_win32_set_directory method (in C#) to do this but I've > noticed that in some instances sqlite is still