SQLITE ERROR: DATA SOURCE

Discussions about creating CAPI applications to run on Android devices
Forum rules
New release: CSPro 8.0
Post Reply
Ottykev
Posts: 3
Joined: December 21st, 2018, 11:44 pm

SQLITE ERROR: DATA SOURCE

Post by Ottykev »

Hi All,

I have deployed an application via ftp and whenever I start the app on my mobile, I get this error' there was an error writing to the data source. There was an error communicating with the SQLite database' and then the application restarts and still allows me to proceed. Also when I want to start the entry, I receive this error-Case ids "" duplicate an existing case! Case ids must be unique. I then proceed to enter a vague password for the interviewer,cluster and able to proceed. Can I be helped kindly on how to do away with the error.

I have upgraded my .dat files to .csdb as am using the csweb.
Attachments
IMG_20190205_125429.jpg
IMG_20190205_125429.jpg (1.83 MiB) Viewed 3478 times
IMG_20190205_125423.jpg
IMG_20190205_125423.jpg (1.79 MiB) Viewed 3478 times
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: SQLITE ERROR: DATA SOURCE

Post by Gregory Martin »

I responded to your case IDs inquiry by email.

Regarding your screenshots, can you provide more detail? After installing the application and restarting CSEntry, do you still get this message, or is this a one-time message? Have you checked that you are opening the correct files (open your .pff and check that the file paths are correct)? Try deleting the data files and see if this happens again.

This is an unusual message that I haven't seen before.

That other message, 11001, should be coming from your application, so you'll want to look at your logic to try to figure that out.
Ottykev
Posts: 3
Joined: December 21st, 2018, 11:44 pm

Re: SQLITE ERROR: DATA SOURCE

Post by Ottykev »

Hi Gregory, The error on SQlite only comes once when starting the application thereafter it doesn't appear.
hannesrr
Posts: 55
Joined: January 8th, 2013, 5:02 pm
Location: Lima, Perú, South America

Re: SQLITE ERROR: DATA SOURCE: SOLVED

Post by hannesrr »

This is the solution:
"Try deleting the data files and see if this happens again."

Thanks Greg.

Regards,

Hannes
Hannes Rodriguez :geek:
Lima, Perú
Post Reply