Solved

The File is locked for Editing

Posted on 2013-06-14
7
2,514 Views
Last Modified: 2013-06-18
I am having an issue accessing Excel documents  saved on a Network drive, located on a Small Business Server 2011. Documents are created in Office 2010 on Windows 7 machines. The problem is accessing the Documents from Mac's running Office 2011 v14.3.5, which I just updated to try to resolve the problem. The problem is random, does not happen on all documents all the time. The work around has been to go to the machine that has reportedly locked the file, do a "save as" as a different name, delete the original and then all machines can access for a period of time.

Here are some steps I have taken from posts I have read regarding this issue;
-Change Owner of the shared folder to Domain\User full control
-Use the Open and repair tool from within Excel
-Run a Compatibility check from Excel 2011 Mac, which returns a report stating "Workbook     contains features not available in earlier versions of Excel"

Recent workaround, I saved as Excel 97-2003 Workbook, seems to be working for time being.

Please advise if anyone else has experienced this and have found a solution.
0
Comment
Question by:slimjim1437
  • 4
  • 3
7 Comments
 
LVL 13

Accepted Solution

by:
Xaelian earned 500 total points
ID: 39248940
It's an issue that some other mixed environments encounter. The problem is that there is a hidden file created when editing the excel sheet.
When you close the excel sheet this hidden files wasn't deleted on the networkdrive. Windows computers can still open it without problems but Mac's can't.
You can go to the folder and delete the hidden file, starts with $filename. You have to do this on a Windows computer, because on Mac you won't be able to see this.
0
 

Author Comment

by:slimjim1437
ID: 39251843
Is there a way to have the Server delete the temp file when closing?
0
 
LVL 13

Expert Comment

by:Xaelian
ID: 39251846
No, because the SBS won't know when it's closed. But you can create a script that deletes these files every day or so.
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 13

Expert Comment

by:Xaelian
ID: 39251849
Or every hour. When the file is being edit you can't delete the file.
0
 

Author Comment

by:slimjim1437
ID: 39251857
I do not know how to write a script. The Network shared folder is quite large, 200 GB. Would a script be able to check whole shared drive for temp's and delete?
0
 
LVL 13

Expert Comment

by:Xaelian
ID: 39251867
Well it can do it. But that would take some time. I can only say this for the script: DEL //share/*.tmp but you need something that will go into some subtrees.
Maybe someone of the Windows scriptkiddies has some sort of script.
0
 

Author Closing Comment

by:slimjim1437
ID: 39258270
It seems like a reasonable explanation but does not resolve my issue.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
macOS 10.12.1 Sierra slow Gmail startup... 4 34
How to resolve user quota error? 13 65
DHCP lease duration / Migration 8 50
Thoughts on PC Doctor 11 45
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
Outlook Free & Paid Tools
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

805 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question