MS ACCESS DB Error 3197

There are no other users that are using this DB, it just fails to open.  How do I correct it?  It will not compact or repair.  I have removed all permissions and access to it with no success.

The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same data at the same time. (Error 3197)
This error can occur in a multiuser environment.

Another user has changed the data you are trying to update. This error can occur when multiple users open a table or create a Recordset and use optimistic locking. Between the time you used the Edit method and the Update method, another user changed the same data.

To overwrite the other user's changes with your own, execute the Update method again.
bsumner007Asked:
Who is Participating?
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Connect With a Mentor Database ArchitectCommented:
I think the 65K applies to Excel.

The max size of an Access MDB is 2GB ... and 100K records is no big deal per se ... all things being 'equal'.

mx
0
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
This can occur for multiple reasons, for example:
Lets say you are on a form.
Somewhere in code, you independently run a process (update qry, etc) that changes some data in the underlying table for that form, or something similar.  Then, on the form, you save you edits ... and that message pops up.  That's one possible scenario ...

mx
0
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
However, if it will not Compact and Repair ... that does not sound too good.  What exactly happens when you do a C&R?

You might try JetComp.exe ... just Google it and will come right up ... MS link.  I rarely see jetcomp fix anything, but hey ... worth a shot

Also ... from the VBA editor ... go to Tools>>References and see if any are **Missing

If not, then try to Compile ...

let us know what happens ....

mx
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
bsumner007Author Commented:
JetComp did not work.  After I try to C&R it will not even start the process.  It just gives a dialog box that says:
The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same data at the same time.
0
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
Well ... to do a C&R ... none one can be using the mdb at that time ... which is sort of what the error message IS implying ... but ... humm.  Seems like some sort of corruption.

can you upload to http://www.ee-stuff.com/Expert/Upload/upload.php ... removing any sensitive data of course?  

mx
0
 
bsumner007Author Commented:
Just uploaded it....
Thanks
Bruce
0
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
I need the link ee stuff gave you ...

mx
0
 
stevbeCommented:
<aside>
while it is easier if the link is posted for you, you can search ee-stuff by Q# or even the full link path to this Q.
</aside>
0
 
stevbeCommented:
of course ee-stuff could not find any files for this Q ... bsummer?

is there an old .ldb file in the same folder as the .mdb file even when you have all instatnces of your app closed? If so delete the .ldb file and try again.

Steve
0
 
bsumner007Author Commented:
I'm having trouble uploading it, it keeps saying the file is too small, it is 3.5MB zipped so I'm a bit confused.  I'm sure it's on this end as I have never used this feature before....will keep trying...

Bruce
0
 
bsumner007Author Commented:
MX,
Do you have a personal e-mail address that I can send this to?  The upload is not working for me...

Bruce
0
 
stevbeCommented:
did you repair/compact before zipping?
did you fill in all the available fields on the form?
ee-stuff is picky and does not always tell you what is really wrong ... almost always says file too small if there is any problem at all :-(
0
 
bsumner007Author Commented:
It will not R&C, all fields were filled in on the upload page.....weird!
0
 
bsumner007Author Commented:
Here's what I'm typing in the upload fields:

Question:http://www.experts-exchange.com/Database/Miscellaneous/Q_22499755.html
File:C:\DOL Master DB.zip
Comment:
Good luck! http://www.experts-exchange.com/Database/Miscellaneous/Q_22499755.html
0
 
stevbeCommented:
try removing the spaces from the file name
0
 
bsumner007Author Commented:
Removed spaces, still does not upload...
0
 
bsumner007Author Commented:
It must be a firewall on our network here because it should work but is not....
0
 
stevbeCommented:
0
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
Full details on decompile: <Weird - I swear I posted this already - oh well)

Follow this procedure:

0) **Backup your MDB**
1) Compact and Repair
2) Execute the Decompile >> you database will reopen
3) Close the mdb
4) Open the mdb ... and then do a Compile (from the VBA Editor >> Menu >>Debug>>Compile<YourProjectName>)
5) Close the mdb
6) Compact and Repair one more time.


Here are sample 'links'.  Adjust your paths and file names accordingly:

Run this from Start>>Run, enter the following command line:

"C:\Program Files\Microsoft Office\Office\Msaccess.exe" /decompile C:\Access2003Clients\GoldstandtSma\App\SmaApp2K3.mdb


"C:\Program Files\Microsoft Office\Office\Msaccess.exe" /decompile C:\Access2003Clients\GoldstandtPdm\App\PdmAppl2K3.mdb

"C:\Program Files\Microsoft Office\Office\Msaccess.exe" /decompile C:\Access2003Clients\HMC\App\AimAppl2K3.mdb

For more detail on the Decompile subject ... visit the Master on the subject (and other great stuff) Michael Kaplan:

http://www.trigeminal.com/usenet/usenet004.asp?1033

mx
0
 
stevbeCommented:
mx ... I would adjust the steps a hair to include a repair/compact after decompile, before re-compile just to make sure any of the unnecessary *stufff* M$ is tracking internally gets dumped also.

Steve
0
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
I believe my steps (0-6) already include that ... am I missing somthing?  if you don't think that's clear, let me know ... and I will revise it (seriously) ...

mx
0
 
bsumner007Author Commented:
Will give it a shot and let you know...

Thanks
Bruce
0
 
stevbeConnect With a Mentor Commented:
I would replace steps 3 + 4 with and instruction to Compact / Repair as this will make the mdb the *cleanest* it can be before you compile again. We certainly would not want to compile any old *crap* in it again :-)
0
 
bsumner007Author Commented:
Well guys, here's the syntax I used:
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "F:\mm\MM_DP\Access\DOL Master DB.mdb" /decompile

It still says "The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same date at the same time"

This is the same error I get in all circumstances....
0
 
stevbeCommented:
can you import any of the objects from the bad mdb into a new mdb?
0
 
bsumner007Author Commented:
Tried that too but get the same message....
0
 
bsumner007Author Commented:
Do any of you guys have an e-mail that I can send you a zipped version of this???
0
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
stevbe ... Done.  Good catch.  Funny ... that is *actually* what I do ... somehow I left that step out.  

mx
0
 
stevbeCommented:
bsummer ... take a look at my profile.

To any lurkers who will now post flames and/or run to an administrator that I am breaking the EE rules ... go read the rules again, very carefully. I promise to post back with any information I find if I can actually help bsummer to actually get the app back in working order.

Steve
0
 
bsumner007Author Commented:
Steve,
Did it work, not sure our Firewall lets .zip file go out.....

Bruce
0
 
stevbeCommented:
I have not seen it yet, but public email sometinmes takes a while. You could try tricking it by changing the extension to .txt
0
 
bsumner007Author Commented:
Actually we have to use.zzz if it was stripped so I'll resend but it is a .zip file
0
 
stevbeCommented:
I got it but am not hopeful, the standard set of tricks is not helping any. I hope you have a recent backup.
0
 
bsumner007Author Commented:
Thanks Steve, I did back it up from a previous version but was trying to save redoing quite a bit of work.  No big deal, my main goal was to see if there was a fix to this problem through some sort of back door access or something I haven't seen in Access before....

On another note is there a limit to the amount of files that can be in one Table, the main table  in this DB is approching 100,000 records  Queries and reports seemed to be running fine so I was just wondering.  I know that there is a 65K limit to pasting records from one table to another...I just started building this DB so there is not a lot of bells and whistles in it yet.
0
 
stevbeCommented:
I tried all the standard stuff which did not help and admittedly I do not have the ability to whack at it with a hex editor to get this in an operable condition. MX has you covered on the size limitations.

Steve
0
 
bsumner007Author Commented:
Not a problem.....I've begun updating the backup copy I have with routine backups!!!!  If I can figure out how to give you and MX points for your time I'll do that...

Thanks again
Bruce
0
 
stevbeCommented:
Because we could not provide a real resolution you can post a Q in community support asking for your points back.
0
 
bsumner007Author Commented:
Well actually you and MX did answer a couple questions, can you post point to more than one person?
0
 
stevbeCommented:
yes, please see FAQ for instructions ...
  http://www.experts-exchange.com/help.jsp#hi69
0
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.

All Courses

From novice to tech pro — start learning today.