EncryptedLocalStore processErrorCode() in AIR

I’ve just migrated from an old MacBook Pro to a new one using Apple’s Migration Assistant. I then thought it’d be a great idea to perform some manual cleanup and accidentally deleted a keychain (in KeyChain Access) which was used by an AIR app I am curre…

I’ve just migrated from an old MacBook Pro to a new one using Apple’s Migration Assistant. I then thought it’d be a great idea to perform some manual cleanup and accidentally deleted a keychain (in KeyChain Access) which was used by an AIR app I am currently developing.

After doing this I started getting the following error when running my app, as soon as it accessed EncryptedLocalStore:

Error: general internal error
at flash.data::EncryptedLocalStore$/processErrorCode()
at flash.data::EncryptedLocalStore$/getItem()

To prevent this error you just need to delete the relevant folders in:

~/Library/Application Support/Adobe/AIR/ELS/

Where ~ represents your user folder. I’m not sure what the relevant folder is on Windows, probably something similar involving the user’s Application Data folder, but if someone knows for sure please feel free to paste in the comments.

2 thoughts on “EncryptedLocalStore processErrorCode() in AIR”

  1. For Windows Vista/7:
    C:UsersSamAppDataRoamingAdobeAIRELS

    For Windows XP:
    C:Documents and SettingsSamApplication DataAdobeAIRELS

    Replace Sam with your Windows username.

    I’m not sure if the situation on a Mac could happen on Windows though – on Windows, the ELS is bound to the user account, and if you managed to somehow screw up the user account so the DPAPI doesn’t work, well, you’ve probably got bigger issues.

    This is still useful for when the ELS gets corrupted somehow and you need a clean slate though.

Comments are closed.