9 Replies Latest reply on Jul 22, 2010 4:54 AM by kgpatel

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

    Final target


      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);



      got the following error.

      ERROR #3125 Unable to open the database file.