Solved

Read only database

Posted on 2002-06-27
4
178 Views
Last Modified: 2013-11-20
Hi,

I have to read data from a data base on a cd. This message always appear everytime a try to open my recordset : It is already opened exclusively by another user, or you need permission to view its data.

I copy my database on my hard drive... everything is ok... but this problem always occure when I try from the cd... I just want to read the data... no update !!

thanks

0
Comment
Question by:Marc_Fortin
4 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 7114756
Show your code.  How are you opening the database?  

Your question leaves WAY TOO much to the imagination.
0
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 7115894
CD's are read only - check what flags you are setting in the call to read the record.
0
 
LVL 6

Expert Comment

by:Triskelion
ID: 7116786
What brand database?
MDB?
0
 

Accepted Solution

by:
AveryH earned 20 total points
ID: 7118372
Your program might be trying to write a lock file to the directory where the database is stored. Since you are trying to access data on a CD and the CD is read only, you will get this error.

I got caught with exactly the same problem. Moving the database to the hdd fixed the problem
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
bigDiff challenge 17 75
twoTwo  challenge 35 86
Line meaning 9 77
Annoying "thing" blocks my view 4 50
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
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…

705 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