Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UWP Desktop app cannot write to db, but it read data successfully #93

Open
mubeenfahmed opened this issue Oct 31, 2018 · 1 comment
Open

Comments

@mubeenfahmed
Copy link

Hi @robertohuertasm , I am experiencing a similar problem, but in my I am targeting UWP Desktop. I've followed your windows tutorial and did everything accordingly, but when I run the application on VS 2017, upon inserting values in db I get the following output.

SQLiteException: ReadOnly
at SQLite4Unity3d.PreparedSqlLiteInsertCommand.ExecuteNonQuery (System.Object[] source) [0x00000] in :0
at SQLite4Unity3d.SQLiteConnection.Insert (System.Object obj, System.String extra, System.Type objType) [0x00000] in :0
at SQLite4Unity3d.SQLiteConnection.Insert (System.Object obj) [0x00000] in :0
at SQLite4Unity3d.SQLiteConnection+<>c__DisplayClass95_0.b__0 () [0x00000] in :0
at System.Action.Invoke () [0x00000] in :0
at SQLite4Unity3d.SQLiteConnection.RunInTransaction (System.Action action) [0x00000] in :0
at SQLite4Unity3d.SQLiteConnection.InsertAll (IEnumerable objects) [0x00000] in :0
at loginService+d__36.MoveNext () [0x00000] in :0
at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in :0

Kindly help, I am stuck.

@skingd
Copy link

skingd commented Dec 17, 2018

Your error appears to have your answer - ReadOnly. Ensure you have proper write permissions/ability to the DB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants