?
Solved

Read only database

Posted on 2002-06-27
4
Medium Priority
?
190 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 45

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 60 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses
Course of the Month15 days, 4 hours left to enroll

840 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