Cause
This error occurs if the file is not accessible with the selected mode and sharing attributes. This usually indicates that another process on the same workstation, or elsewhere in the network, already has the file open with an incompatible sharing mode.
Action
Provide an appropriate exception handler to shield users from this error.