Can't Play in My Own Sandbox

I recently used App Wrapper Mini to create a sandboxed version of a database app for the app store and since doing that the app can no longer create a new database file apparently because it can no longer write to the folder.

If I try to create a new database file in the sandboxed version it can’t write the file and if I try to create a new database in the non-sandboxed version it creates it in the parent folder of the executable file with the shell path as part of the file name.

This is my first attempt at creating a sandboxed app so I’m a bit mystified as to what the problem might be.

Sounds like you are trying to write your DB to the app’s folder and that’s a no no. Write your app to SpecialFolder.ApplicationData.Child(“myCompany”).Child(“myFile”) which is the standard location even fr non-sandboxed apps.

That fixed it, thanks. I thought I was doing that already but I found a block of code that I had written a long time ago that was attempting to access the file by the path.