Quantcast
Channel: Adobe Community : Popular Discussions - Archived Discussions
Viewing all articles
Browse latest Browse all 21156

SQLite encrypted Database does not get attached Using Adobe Air,Why?

$
0
0

Hi,

Any one knows the solution, am trying to attach the encrypted SQLite database adobe air-adobe flex bulder , it does not get attached using sqlconnection.attach throws error, though the given key is correct, but it gets open using sqlconnection.open with the same key, any one knows the solution, how to attach the encrypted data base, since am using two data base one is opened and another must be attached to the existing ,thanks in advance. using adobe air- flex related. i use the following code

 

               databaseFile1 = File.applicationStorageDirectory.resolvePath("Sample_1.sqlite");
               databaseFile2 = File.applicationStorageDirectory.resolvePath("Sample_2.sqlite");

 

dbConnection.open(databaseFile1, SQLMode.CREATE, false, 1024, secKey);

dbConnection.attach("db2",databaseFile2,null,secKey);

 

got the following error.

ERROR #3125 Unable to open the database file.


Viewing all articles
Browse latest Browse all 21156

Trending Articles