They're just opening a SharePoint file and getting the "locked by yourself" error. However, my clients are not saying anything about Word or Excel crashing. correct? Based on the KB article, it sounds like this 10-minute write lock applies only if the editing program has terminated abnormally, leaving the write lock in place. I assume the write lock is being removed when Word exits. Nothing stopped me: I did not see a "locked for editing" message. Just now, I opened a Word document, made a small edit, and saved. Thank you Xue-Mei: Let me see if I understand this correctly. PS-We've had no troubles with our SharePoint Server 2010 farm which was deployed after our solution was found. If nothing else, you mayat least see that the traffic is all clear and can scratch my solution off your list. There may be something else in your network (a switch, router, hub, etc.) that is causing problems with a request somewhere along the line. The file was failing. Even though you have a single WFE, I would still recommend inspecting the network traffic. The networked request from Office to SharePoint to lock/unlock Watching the network traffic with Fiddler is what led us to our load balancer as the culprit.
It was a huge headache for me when I was getting this problem, too. Due to the limited feature set, Office Web Apps rarely works as an enterprise-wide The feature set available in Office Web Apps can not compare to the features available in the client app. I agree: Office Web Apps is not a viable solution to this problem.
Why is my word document locked windows#
Any ideas? Other details: - SharePoint servers (1 front-end, 1 query, 1 indexing) are all Windows 2003 Server - SQL Server 2008 on database server - Clients are mostly Windows XP - Our versioning model is: - Content approval: not required - Document Version History: Create major versions - Require Check Out: No
It's almost as if some kind of intermittent race condition is happening, where the document gets locked too early.? We are completely stumped. If the same user opens the same file again 1 minute later, the problem might be gone, even though nothing changed. The problem is, nobody else is editing this document, and the identified user ('domainname\yourname') is the name of the current user (the person opening the document right now)! This is not "user error", e.g., the same user editing the file from two different computers, or the file being checked out. Once the temporary ownership file is deleted, you will be able to open/edit your Excel File, without encountering “File is Locked for editing by another user” message.On our SharePoint 2007 SP1 farm, intermittently, when a user opens a Microsoft Office document (usually Excel) for editing by single-clicking its name in IE, the following error dialog mysteriously occurs when Office opens: File in Use myfile.xlsm is locked for editing by 'domainname\yourname' Open 'Read-Only' or click 'Notify' to open read-only and receive notification when the document is no longer in use. On File Explorer screen, navigate to the Location of the temporary ownership file ~$ and delete this file.įor example, if the file is example.xls, the temporary ownership file will be named as ~$. Right-click on the Start button and click on File Explorer.Ģ.
The only way to fix this issue is to locate the temporary ownership file on your computer and delete the ownership file.ġ. If the file does not close properly, the temporary ownership file remains open in the memory, leading to “ File is Locked for Editing by another user” error. This happens due to the way Microsoft Office creates a temporary ownership file whenever a Microsoft Office File is opened and automatically deletes the temporary ownership file as soon as the File is closed. Unlock File Locked on your ComputerĪs mentioned above, Excel, Word and other Microsoft Office files can get locked, even if they are not being shared with other users. Once the open file is closed, the blocking user will be removed from the File and the File will become unlocked. On the next screen, expand the list of Open Files > right-click on the Locked File and click on Close Open File option. Back on “Add or Remove Snap-ins” screen, click on OK to Add the selected Snap-in.ħ.