bsumner007
asked on
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.
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.
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
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
ASKER
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.
The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same data at the same time.
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
can you upload to http://www.ee-stuff.com/Expert/Upload/upload.php ... removing any sensitive data of course?
mx
ASKER
Just uploaded it....
Thanks
Bruce
Thanks
Bruce
I need the link ee stuff gave you ...
mx
mx
<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>
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>
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
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
ASKER
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
Bruce
ASKER
MX,
Do you have a personal e-mail address that I can send this to? The upload is not working for me...
Bruce
Do you have a personal e-mail address that I can send this to? The upload is not working for me...
Bruce
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 :-(
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 :-(
ASKER
It will not R&C, all fields were filled in on the upload page.....weird!
ASKER
Here's what I'm typing in the upload fields:
Question:https://www.experts-exchange.com/questions/22499755/MS-ACCESS-DB-Error-3197.html
File:C:\DOL Master DB.zip
Comment:
Good luck! https://www.experts-exchange.com/questions/22499755/MS-ACCESS-DB-Error-3197.html
Question:https://www.experts-exchange.com/questions/22499755/MS-ACCESS-DB-Error-3197.html
File:C:\DOL Master DB.zip
Comment:
Good luck! https://www.experts-exchange.com/questions/22499755/MS-ACCESS-DB-Error-3197.html
try removing the spaces from the file name
ASKER
Removed spaces, still does not upload...
ASKER
It must be a firewall on our network here because it should work but is not....
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<YourProje ctName>)
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\Golds tandtSma\A pp\SmaApp2 K3.mdb
"C:\Program Files\Microsoft Office\Office\Msaccess.exe " /decompile C:\Access2003Clients\Golds tandtPdm\A pp\PdmAppl 2K3.mdb
"C:\Program Files\Microsoft Office\Office\Msaccess.exe " /decompile C:\Access2003Clients\HMC\A pp\AimAppl 2K3.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
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<YourProje
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
"C:\Program Files\Microsoft Office\Office\Msaccess.exe
"C:\Program Files\Microsoft Office\Office\Msaccess.exe
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
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
Steve
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
mx
ASKER
Will give it a shot and let you know...
Thanks
Bruce
Thanks
Bruce
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Well guys, here's the syntax I used:
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.E XE" "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....
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.E
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....
can you import any of the objects from the bad mdb into a new mdb?
ASKER
Tried that too but get the same message....
ASKER
Do any of you guys have an e-mail that I can send you a zipped version of this???
stevbe ... Done. Good catch. Funny ... that is *actually* what I do ... somehow I left that step out.
mx
mx
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
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
ASKER
Steve,
Did it work, not sure our Firewall lets .zip file go out.....
Bruce
Did it work, not sure our Firewall lets .zip file go out.....
Bruce
I have not seen it yet, but public email sometinmes takes a while. You could try tricking it by changing the extension to .txt
ASKER
Actually we have to use.zzz if it was stripped so I'll resend but it is a .zip file
I got it but am not hopeful, the standard set of tricks is not helping any. I hope you have a recent backup.
ASKER
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
Steve
ASKER
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
Thanks again
Bruce
Because we could not provide a real resolution you can post a Q in community support asking for your points back.
ASKER
Well actually you and MX did answer a couple questions, can you post point to more than one person?
yes, please see FAQ for instructions ...
https://www.experts-exchange.com/help.jsp#hi69
https://www.experts-exchange.com/help.jsp#hi69
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