![]() ![]() In my case, I have to read an exisiting SQLite file but I did not found the solution. Is it my mistake, or is it a SQLite bug? There is no problem creating files or folders in that redirected folder using code. 1 I tried to open a new database like that : localFileName 'open-streets-dc.mbtiles' db window.openDatabase (localFileName, '1', 'my', 1024 1024 100) It will create a new db in Web SQL and I can browse on it with chrome. > The underlying provider failed on Open.Īs it turns out, despite having correct path set in code (like '\\server_name\test' or '\\server_ip_adress\test', according to Process Monitor, my app tries to create a database file at 'C:\server_name\test', but it fails as that catalog doesn't exist. > An exception occurred while initializing the database. There is a need to renew/reopen the database so all its operation and memory allocation is remove. Now I have looked on the code for exp.sqlite and I can see that close operation is present there, which is great but it is not a public operation. As long, as redirected folder points to local directory, it is still fine, but when it's somewhere in the network, trying to open or create a database always throws a exception: I have build expo-sqlite-wrapper, its an ORM build around exp.sqlite. ![]() Everything works fine, until some clients use folder redirection in Windows. I'm using %appdata% folder to save and store settings of my. Hi, I encountered a problem, that i can't solve myself. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |