Good morning, I have a problem with JRDC and SQL database on PC.
I'll tell you a little:
I have an application on Windows, and I am implementing an Android application. But I have a problem
IF I modified the SQL database on the PC, then copied it to the Mobile application, and also worked on it, I don't have any problem.
But, if I access the database Using JRDC
When I start the Java server it no longer lets me access the database from the PC and tells me:
SQLiteException: file is encrypted or is not a database
But if I can access the database with applications like db browser, without problems
Does anyone know why the Java server blocks my database and leaves it as encrypted?
I'll tell you a little:
I have an application on Windows, and I am implementing an Android application. But I have a problem
IF I modified the SQL database on the PC, then copied it to the Mobile application, and also worked on it, I don't have any problem.
But, if I access the database Using JRDC
B4X:
DriverClass=com.sqlite.JdbcUrl
JdbcUrl=jdbc:sqlite:C:/Users/Public/Cadesoft/TCuentas.db
#SQLite spcecific. Set CreateFile to create file if it does not exist.
CreateFile=FALSE
When I start the Java server it no longer lets me access the database from the PC and tells me:
SQLiteException: file is encrypted or is not a database
But if I can access the database with applications like db browser, without problems
Does anyone know why the Java server blocks my database and leaves it as encrypted?