Improve company productivity with a Business Account.Sign Up

x
?
Solved

access database error

Posted on 2013-05-14
11
Medium Priority
?
164 Views
Last Modified: 2014-01-03
When I try to start my Access 2007 database (yesterday I work with this db without problem) I get the message: "The Microsoft Office Access database engine stopped the process because you and another user are attempting to change the same data at the same time."
0
Comment
Question by:dperina
  • 3
  • 3
  • 3
  • +2
11 Comments
 

Expert Comment

by:Kryologic
ID: 39166781
Did you try to do a compact/repair?  Tools -> Database Utilities -> Compact and Repair
0
 
LVL 14

Expert Comment

by:Bill Ross
ID: 39166790
Hi,

Before you do ANYTHING - make a backup of the file.  Then run the compact and repair.

Regards,

Bill
0
 

Author Comment

by:dperina
ID: 39166796
I try buy appear the same mesage
0
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

 

Expert Comment

by:Kryologic
ID: 39166801
Bill is 100% correct. Always backup your data before doing any of the suggested answers. Also if this database is on a network backup to your local machine and try to open if it opens before the repair. if it opens you are most likely facing a network issue.
0
 

Author Comment

by:dperina
ID: 39166806
the db is in my computer.
0
 
LVL 14

Expert Comment

by:Bill Ross
ID: 39167058
Hi,

If the compact and repair fails to resolve the issue then you will need to create a new blank database and try and import all objects from the existing database.  That may at least salvage some of the work.

Do you have a backup?

Regards,

Bill
0
 
LVL 77

Expert Comment

by:peter57r
ID: 39167268
Close the database and Access.
Look in the folder containing the database.
If there is a file called  yourdatabasename.laccdb then delete it and then re-open your database.

(If you are using a .mdb file then the file to look for is yourdatabasename.ldb )
0
 

Author Comment

by:dperina
ID: 39170113
my db is .mdb and not exist any file *.ldb in the folder

I try to explain the reason for I suscribe to Expert Ex. (sorry for my english)
I work with VB6 and access db (mdb) and more than one ocasion I find this error and look for solution in Internet but I don't could find any work.
In this case the db is for development and don't have critical data; I could delete and rebuid a new, but my preoccupation is -> what happens if this error appear in my client database sistem!! I need have some procedure to recover the critical data if this problem arises.
Thanks in advance for your help.
0
 

Expert Comment

by:Kryologic
ID: 39170201
Have you tried the database on any others machines? Does this problem occur?
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 39170264
<When I try to start my Access 2007 database>
Any startup code or macros?
0
 
LVL 14

Accepted Solution

by:
Bill Ross earned 1000 total points
ID: 39170285
Hi,

Rather that figuring out how to fix the error, I think you should investigate the cause.

This rare error is usually caused by something left open when the front end is closed.  I would check the VB app VERY closely to make sure you close all connects as soon as they are done.  If you open a form or recordset then make sure the database connection is closed when no longer being used.

It's also good practice and helps performance to open one connection at the opening of the application and close it correctly when the app closes.  Use a hidden form or static recordset to do this.

Hanging connections are very bad when using file based databases.

Stress test your application.  Hit the power switch, dump the LAN, etc. and see if the db breaks.  It should not.

Regards,

Bill
0

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Beware when using the ListIndex and the Column() properties of a listbox in Access 2007.  A bug has been identified in the Access 2007 listbox code which can cause the .ListIndex property to return a -1, and the .Columns(#) property to return a NULL…
With the functions here, you can parse, convert, and format back and forth between feet and inches and fractions and decimal inches - for normal as well as extreme values and with extreme precision.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…

606 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