Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

"Error -22" any help on a meaningless error with a single file

I do have a problem with a MS Word file. I can’t read or copy the file. Checking the permissions does not help. And the error message is not very useful.

<language=de>
Der Vorgang konnte nicht abgeschlossen werden, da ein unbekannter Fehler aufgetreten ist (Fehler -22).
</language>

In english the error does tell that the action could not be completed due to an unknown error (error -22)

Mac OS System Error Codes: 0 to -261 says:
"-22 unitEmptyErr Driver ref num specifies NIL handle in unit table"
see http://support.apple.com/kb/ht1618

What the **** is going on? I need this file and the backup did not complete because of the same error…

Macbook Pro, Mac OS X (10.6.6)

Posted on Feb 6, 2011 2:58 PM

Reply
7 replies

Apr 24, 2014 7:59 AM in response to l-i-n-k

This error code is rare, and typically misunderstood.


I can't disclose details of one way in which error -22 is reproducible with the HFS Plus file system, but your observation – that the problem persists after use of fsck_hfs (with Disk Utility) – is consistent with my assessment that fsck_hfs simply can not detect file system inconsistencies of this type.


Please note that error code -22 may occur with perfectly good hardware, so anyone in this situation should not rush to assume drive failure.


You should assume that there has been dataloss from the affected file; that it will be irreparable. If you can, restore from a backup of a point in time before the dataloss.

"Error -22" any help on a meaningless error with a single file

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.