Hi, Can anyone help with this error? I am using this code in UWP C++/WinRT sqlite3** m_dB; const char* m_szFile = "DataBase/db.sqlite3"; char* sqlite3_temp_directory; void UI_Database::InitializeDatabase(void) { int sqlError = SQLITE_OK; LPCWSTR zPath = ApplicationData::Current().TemporaryFolder().Path().data(); char zPathBuf[MAX_PATH + 1]; memset(zPathBuf, 0, sizeof(zPathBuf)); WideCharToMultiByte(CP_UTF8, 0, zPath, -1, zPathBuf, sizeof(zPathBuf), NULL, NULL); sqlite3_temp_directory = sqlite3_mprintf("%s", zPathBuf); sqlError = sqlite3_open(m_szFile, m_dB); if (sqlError == SQLITE_OK) { } } All I every get for sqlError is 15 (SQLITE_PROTOCOL). It never tries to create the file if missing. I suspect it might be a permissions thing in Win10. Thanks.