?
Solved

The File is locked for Editing

Posted on 2013-06-14
7
Medium Priority
?
2,559 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Suggested Courses

741 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