Select works in Sqlite Database but Insert and Update statements do not

awatan

I am using sqlite database with qt in development environment and It works perfectly fine (inserting and updating records) but when I use the same database file (copied from development environment) after deployment, insertion, deletion and updation give error while database gets populated all right. What can possibly be wrong? Do database files work after copying them to different location.

Any help would be appreciated.

awatan

So It is kind of solved. The restriction is that Windows 7 wont let you change files in C drive where the program is installed. It recommends to put these kind of files in Application data folder or in User home like My Documents etc.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related