Was just working earlier this week on a little AIR application for my own use and I got stumped at one point while using it. The AIR application makes use of the local database and I was unable to update a record; I was repeatedly getting error 3122 during the save operation. After looking up the error description I figured out it was because the database file was read-only. It was because the file was in the application directory, also note this is on Windows Vista (I don't need to tell you about UAC!). I made the file modifiable, but now was getting error 3125. Error 3125 states that the OS simply won't let you update the DB in any way, and I figured it was Vista not letting me do the update. So I moved the file to my documents directory and it worked fine.
So be careful during an installation of a mission critical AIR application, make sure you place your database file somewhere where it can be worked with; either in the user's document directory or in the application storage directory. Especially important on Windows Vista.
did you test applicationStorage, because it's not only with databases, but with files as well. Adobe told us, we should use applicationStorage path not just application path (im not sure if this is correct name, but it's early morning here :) )
ReplyDeleteFile.applicationStorage or File.documentsDirectory will work.
ReplyDeleterun your application as administrator and it should work.
ReplyDelete酒店打工
ReplyDelete酒店兼職
台北酒店
打工兼差
酒店工作
酒店經紀
禮服店
酒店兼差
酒店上班
酒店PT
酒店
酒店喝酒
酒店消費
喝花酒
粉味
Thanks for this information. However, I am thinking to leave the buggish Vista for a more sure and fast OS as Ubuntu Linux. Viagra Generic Viagra
ReplyDeleteYou can move to Linux, but You will not be able to develop with Flash Builder
ReplyDeletebuy xanax does 1mg xanax look like - xanax vicodin
ReplyDeletebuy xanax online side effects of the drug xanax - 2mg xanax price per pill
ReplyDelete