7015811: MS Office file “is locked for editing” by me

This document (7015811) is provided subject to the disclaimer at the end of this document.

Environment

Novell Client 2 SP3 for Windows

Microsoft Office 2013
Microsoft Excel
Microsoft Word

Situation

When attempting to edit a document or spreadsheet, the user gets a message:

File in Use
<filename> is locked for editing
by ‘username’.
Open ‘Read-Only’ or click ‘Notify’ to open read-only and receive notification when the document is no longer in use.
Where the name of the user identified is the user who is attempting to open the file. The user is certain that they do not have the file open when the message appears.

Resolution

Using Windows Explorer (or any other tool that allows you to manage the file system), navigate to the location of the file you are editing, and delete the temporary file name ~$<filename> which corresponds to the file you are editing. Then, re-open the file you are editing.

Cause

MS Office creates a temporary file (in the same location as the file being edited) containing the name of the user who has opened the document or spreadsheet file for editing. When another user attempts to open the file, Office checks for the presence of the temporary file. If it exists, it reads the name of the user who has the file open and inserts that name into the error message displayed.

Normally, the temporary file is removed when the file is closed/saved, but if the file is mistakenly left on the drive due to an application crash or other unusual event, this problem can occur.

Additional Information

This is not a Novell Client problem, but it can be seen when the Novell Client is being used to access files located on a Novell drive/volume.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented “AS IS” WITHOUT WARRANTY OF ANY KIND.

Related:

Leave a Reply