Solved

The File is locked for Editing

Posted on 2013-06-14
7
2,511 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
The curse of the end user strikes again      

You’ve updated all your end user’s email signatures. Hooray! But guess what? They’re playing around with the HTML, adding stupid taglines and ruining the imagery. Find out how you can save your signatures from end users today.

 
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

Are end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users today.

Question has a verified solution.

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

In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
Outlook Free & Paid Tools
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

863 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

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now