Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: dbexpress sqlite unable to open database file



Permlink Replies: 1 - Last Post: Jun 2, 2014 2:52 PM Last Post By: quinn wildman Threads: [ Previous | Next ]
Marcello Orrù

Posts: 3
Registered: 6/27/14
dbexpress sqlite unable to open database file
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 1, 2014 8:36 AM
I m use delphi x6 trial, i m create a simple application with firemonkey desktop, and create withs sqlitemanager a database test1.sqlite3

i m adding a form with component dbexpress: sqlconnection1! the path is c\utenti\utente\desktop and database test1.sqlite3 test is ok. i am addind table1 where sqlconnection = sqlconnection1, so i m addind datasetprovider1 and set property daset = table1,so i a m adding clientadaset adn set property providername= datasetprovider1 and property active = true, so addind datasource where property dataset = clientadaset1. so right click on clientdaset and select bind visual, create a link to Tstringgrid.., a design time tstring have record of the table,when run(f9).., this comparare this error "unable to open database file" why?

Edited by: Marcello Orrù on Jun 1, 2014 8:37 AM
quinn wildman

Posts: 856
Registered: 12/2/99
Re: dbexpress sqlite unable to open database file [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 2, 2014 2:52 PM   in response to: Marcello Orrù in response to: Marcello Orrù
I would start here:
https://code.djangoproject.com/wiki/NewbieMistakes#DjangosaysUnabletoOpenDatabaseFilewhenusingSQLite3

Marcello Orrù wrote:
I m use delphi x6 trial, i m create a simple application with firemonkey desktop, and create withs sqlitemanager a database test1.sqlite3

i m adding a form with component dbexpress: sqlconnection1! the path is c\utenti\utente\desktop and database test1.sqlite3 test is ok. i am addind table1 where sqlconnection = sqlconnection1, so i m addind datasetprovider1 and set property daset = table1,so i a m adding clientadaset adn set property providername= datasetprovider1 and property active = true, so addind datasource where property dataset = clientadaset1. so right click on clientdaset and select bind visual, create a link to Tstringgrid.., a
design time tstring have record of the table,when run(f9).., this comparare this error "unable to open database file" why?

Edited by: Marcello Orrù on Jun 1, 2014 8:37 AM
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02