Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

The File is locked for Editing

Posted on 2013-06-14
7
Medium Priority
?
2,605 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 1000 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
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

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

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

In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
MS Outlook undoubtedly is the most widely used email client.Its user-friendliness, cost effectiveness, and availability with Microsoft Office Suite make it the most popular email application.  Its compatibility with Microsoft applications like Exch…
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.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

581 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