Group: http://groups.google.com/group/csharp-sqlite/topics
- WinRT / Metro for Release Preview [1 Update]
GuyJ <guymj...@gmail.com> Jun 17 07:27PM -0700
I spent most of the day today trying to use the WinRT version of the code
from the hg repository. I thought I must be doing something stupid because
I couldn't make it work. Now I realize that the stupid thing that I was
doing was not having tried the included test project first. After
resolving the xaml and metro helper class changes introduced in the RC I
found that the samples are all broken too.
In the test application it is getting an error saying "unable to open
database file" or SqliteSyntaxException with "no such table TEST_TABLE"
I don't have much of a clue as to what the cause is, but in MY use case (an
existing db) it appears that the ultimate error that is occurring is in the
btree_c.cs file and the lockBtree function. There it does some voodoo to
determine if the file is a valid sqlite file and fails with SQLITE_NOTADB.
I've confirmed that the db is ok by copying the file from my localstate
directory and opening it using the firefox SQLite Manager tool without
problems. I checked it's integrity and even vacuumed it and reintroduced
it with no luck.
I realize that this code is based on Metro Beta code so I'm not here to
complain. I'm just curious if anyone else has taken a look at this yet and
has any idea what is going on.
You received this message because you are subscribed to the Google Group csharp-sqlite.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.