?
Solved

How to open access database which is looked in edited mode

Posted on 2011-02-23
7
Medium Priority
?
443 Views
Last Modified: 2012-05-11
I have access database which is used by some programe, and this programe is looking the database so no one can connect to it or even open it using MS access.

Is there any way to connect to the database using c# without closing that program?
0
Comment
Question by:Suma5566
[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
  • 3
  • 3
7 Comments
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 34964113
No.
0
 
LVL 9

Accepted Solution

by:
borki earned 2000 total points
ID: 34964494
Access is designed to be a multi user program. I am not sure what you mean with "locked in Edit Mode".

If the Access DB is opened in "Default" mode, then, if a user opens a particular table in Design View, other users can't open that table in design view. Also, you should still be able to query and work on other tables.

If you open the DB in "Exclusive" mode, anyone else receives a "file in use" message.

Another option is to open the DB in "Exclusive Read-Only" mode, where you grant other users read-only access to the DB.

You could also make a copy of the .mdb file and operate on it, as access control is done via the .ldb file.
0
 

Author Comment

by:Suma5566
ID: 34964576
Great, thanks so much.

I'll consider copying the database.

Thanks.
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 44

Expert Comment

by:AndyAinscow
ID: 34967574
There are other possibilities but all required making changes to the other program - which you seemed to exclude.
Note the answer you accepted does say pretty much what I said - no.
0
 

Author Comment

by:Suma5566
ID: 34968435
i cannot change that application since it has been developed by some company.
all i needed is to read dome data from that database.
i may write some code to kill that applications process and then start it again after i finish reading from it.
0
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 34968483
>>Is there any way to connect to the database using c# without closing that program?

Answer - No.
0
 

Author Comment

by:Suma5566
ID: 34972125
I found a solution.

I opened the database file ib MS Access and made database split, which will make another file that i can connect to.

:)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Suggested Courses

765 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