flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bilbosax <waspenc...@comcast.net>
Subject Re: My AIR Release Build doesn't work
Date Sat, 30 Jul 2016 19:51:24 GMT
The error had something to do with the SQLite database.  If I understand
correctly, it could not find the directory that it is supposed to create the
database in, and therefore would not do it.  Here is the actual error:

SQLError: 'Error #3125', details:'Connection closed.', operation:'open',

Here is how I was defining creating the database:

sqlFile = File.applicationDirectory.resolvePath("TheKeyDB.db");
				sqlConn = new SQLConnection();
				sqlConn.open(sqlFile, SQLMode.CREATE);

I guess that I needed to use File.applicationStorageDirectory instead of
simply File.applicationDirectory.  This about drove me nuts.  I find error
searching like this frustratingly maddening, like looking for a lost set of
keys :)

View this message in context: http://apache-flex-users.2333346.n4.nabble.com/My-AIR-Release-Build-doesn-t-work-tp13085p13095.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

View raw message