KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Error #-61 The resource could not be created
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac OS X
Published On: April 3, 2007

When launching a 4D application on Mac OS X it is possible to receive an error that states:

Error # -61 The resource could not be created.

This is a BSD error that means the Read/write permission does not allow writing. This error has been specifically seen when 'Standard' users (i.e not Administrators) are attempting to use 4D Databases that do not have proper permissions set.

If you receive this error, here are a few things to check:

1. Make sure that proper permissions are set on /Library/Application Support/4D. 4D needs full write access to this folder and all subfolders.

2. Make sure that proper permissions are set on /Users/[user name]/Library/Application Support/4D. 4D needs full write access to this folder and all subfolders.

3. Make sure proper permissions are set to the folder where your 4D Application resides. 4D Needs full write access to this folder.

4. When running merged applications, there is also a chance that permissions are not set properly on Application.app/Contents/Resources/.

To set full write permissions to any of the above folders you can use the Terminal. For example, executing the following command will fix the issue in item 4 above:

sudo chmod -R 777 applicationname.app/Contents/Resources/

By passing 777 you are stating that everyone has full permission to the files in this directory. Also note that you must have an administrator password in order to do this.

For more information on 'chmod' please visit:
http://en.wikipedia.org/wiki/Chmod

Commented by Charles Landau on June 26, 2009 at 10:17 AM
This can also happen if the database file is locked because it is open in another application such as 4D Tools.