Solved

Read only database

Posted on 2002-06-27
4
183 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
[X]
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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
centeredAverage challenge 8 186
mapBully challenge 6 178
Trying to run powershell  in a batch file. How do I do this? 8 117
Making an alias 7 114
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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 antispam), the admini…

726 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