Solved

Read only database

Posted on 2002-06-27
4
181 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Different colored text in ComboBox without Subclassing 8 60
Expand LInux Boot partition remotly 3 90
Replacement selected text 2 61
fix34  challenge 9 116
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: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

785 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