Solved

Issue accessing a linked excel spreadsheet from Access

Posted on 2011-03-10
2
282 Views
Last Modified: 2012-05-11
Hi,

I've developed a DB in Access and deployed using Access Runtime to a network. As part of it's daily routine a spreadsheet (xls) is downloaded and I use VBA/SQL/ADO to extract the latest information from it.

For 1.5 years, it's been working flawlessly - however yesterday it stopped working. Regardless of any downloading etc, if I even attempt to connect to the Excel spreadsheet I get the following message:

"The Microsoft Office Access database engine cannot open or write to the file {filepath}. It is already opened by another user, or you need permission to view and write its data."

I can open and change the file without any issues.

I do exactly the same thing with a CSV in exactly the same location and it still works perfectly.

The issue is present on every machine on this network, but I can't replicate it on my own system (although I'm using full Access rather than ART).

I'm stuck, help!
0
Comment
Question by:jjnet123
  • 2
2 Comments
 
LVL 1

Author Comment

by:jjnet123
ID: 35093554
Just to add, I've tried turning the anti-virus s/w off temporarily. No joy.
0
 
LVL 1

Accepted Solution

by:
jjnet123 earned 0 total points
ID: 35093780
Ok, problem solved.

It seems as though there's some kind of file lock on the location rather than the actual file. If the file is saved to a different location there's no issue.

No doubt a server reboot would have resolved this also.
0

Featured Post

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.

Question has a verified solution.

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

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

867 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

12 Experts available now in Live!

Get 1:1 Help Now