Error Message:

Bad file number.

Explanation:

The specified file handle is not a valid file-handle value or does not refer to an open file. Or an attempt was made to write to a file or device opened for read-only access (or vice versa).

User Action:

If this message was displayed when you tried to open or write to a file, check the permissions on the file or folder that you were trying to open. Otherwise, no user action is required.