J JForge Member Licensed User Longtime User Sep 24, 2013 #1 Hi all, Today when trying to debug some of my code, I began to get some database errors. Namely the debugger says that the table is not found, but when I go in the sqlite editor it is clearly there. I have uploaded my project as a zip and I hope someone can point me in the right direction of what is wrong. I haven't changed anything recently and am a bit at a lost. thanks! John (the db was too big to upload, Ill post a link to it later on) Download link: http://ubuntuone.com/5fKm3hbIYq9hghSzeVBE3e Attachments DB_Trouble.zip DB_Trouble.zip 75.9 KB · Views: 353
Hi all, Today when trying to debug some of my code, I began to get some database errors. Namely the debugger says that the table is not found, but when I go in the sqlite editor it is clearly there. I have uploaded my project as a zip and I hope someone can point me in the right direction of what is wrong. I haven't changed anything recently and am a bit at a lost. thanks! John (the db was too big to upload, Ill post a link to it later on) Download link: http://ubuntuone.com/5fKm3hbIYq9hghSzeVBE3e
NJDude Expert Licensed User Longtime User Sep 24, 2013 #2 You have to copy the DB from DirAssets to DirDefaultExternal on Activity_Create Upvote 0
J JForge Member Licensed User Longtime User Sep 25, 2013 #3 I tried adding this to the Activity_Create If File.Exists(File.DirDefaultExternal, DBFileName) == False Then File.Copy(File.DirAssets, DBFileName, File.DirDefaultExternal, DBFileName) End If But I get the same error Upvote 0
I tried adding this to the Activity_Create If File.Exists(File.DirDefaultExternal, DBFileName) == False Then File.Copy(File.DirAssets, DBFileName, File.DirDefaultExternal, DBFileName) End If But I get the same error
J JForge Member Licensed User Longtime User Sep 25, 2013 #5 NJDude you are MAGICAL. Thank you so much! I know I had this same problem before, but for some reason it was able to work without the external directory for some reason..... Its strange, but I'll make sure to keep it this way. Upvote 0
NJDude you are MAGICAL. Thank you so much! I know I had this same problem before, but for some reason it was able to work without the external directory for some reason..... Its strange, but I'll make sure to keep it this way.