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

"Cannot Be Accessed" error

Posted on 1998-04-20
Last Modified: 2012-05-04
I'm getting the following error message:

'00TimeCard.xls' cannot be accessed. The file may be read-only, or you may be trying to access a read-only location. Or, the server the document is stored on may not be responding.

I can access the other excel files that reside on the same drive that 00TimeCard.xls is on. So, the server is responding and the location is NOT readonly.

Anyone have any ideas on how I can access this file? Is there a bit I need to clear or something?
Question by:Cyprus

Expert Comment

ID: 1602669
Open Explorer, click with a right mouse button on the file, select Properties option, check if read-only attribute is set.

Expert Comment

ID: 1602670
try to copy the file locally..
then try to open it up. The file may really be READ ONLY. This is fixable by typing
attrib 00timecard.xls -r -a -s -h
in the dos prompt.

Otherwise, the file might be corrupted

Author Comment

ID: 1602671
I guess the file is corrupted...'cause I've done both suggestions and still get the error message. I wonder if it has a virus?
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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


Expert Comment

ID: 1602672
Have you tried opening the file at another location and/or with a different version of excel?

Hope this helps


Author Comment

ID: 1602673
I think the directory is on a bad sector or something...'cause I just saved and closed a file and then reopened it and now that other file is getting that error message as well. It was open 5 minutes ago, and now I'm not able to get into it...the file is in the same directory as 00Timecard.xls...guess this means my team leader won't be getting my timesheet in the near future! *smirk*
Unless someone is aware of a bug in excel where you save the file and it gets corrupted...???

Expert Comment

ID: 1602674
check for a .tmp file of it in your windows\temp directory.. maybe you can open it, cut and paste the data into a new Excel file and delete the old one.  I find that Excel files can get corrupted easily and then they are permanantly hosed.

Expert Comment

ID: 1602675
make sure you are the only one opening the file...if someone else is already accessing it,it sometimes gives errors saying that it cannot access it

Accepted Solution

frazer earned 50 total points
ID: 1602676

It sounds like your file is corrupted,

run scandisk and then defrag,

if anything is going to cure your problem this will.

Hope this helps


Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Some time ago I was asked to create a VBA function that would calculate a check digit for an input number, using the following procedure: First, sum up all the individual digits in the number If that sum value has more than one digit, then sum up …
PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

789 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