Connecting Tech Pros Worldwide Forums | Help | Site Map

Can't open DB! Super Emergency Pls Help Quick!

tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#1: May 4 '07
This just happened this morning! When anyone, from any computer, tries to open our Orders Database, we get the following error message:

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)


But that's not true! Nobody is on it!
Help! How can I get this to open? We rely heavily on this database, all day long!

msquared's Avatar
Administrator
 
Join Date: Aug 2006
Location: Dublin, Ireland
Posts: 10,886
#2: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by tdw

This just happened this morning! When anyone, from any computer, tries to open our Orders Database, we get the following error message:

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)


But that's not true! Nobody is on it!
Help! How can I get this to open? We rely heavily on this database, all day long!

First, check to see if there is an *.ldb file anywhere and see if you can delete it.
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#3: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by mmccarthy

First, check to see if there is an *.ldb file anywhere and see if you can delete it.

I found one in C:\Program Files\Microsoft Office\Office11
called ACWZTOOL.ldb

Could that be it, should I delete it? The actual database file is on a server, should I search the server too before deleting this? By the way, I already tried copying the db file to my computer (which it let me do) then ran it. Same error. In case that means anything.
msquared's Avatar
Administrator
 
Join Date: Aug 2006
Location: Dublin, Ireland
Posts: 10,886
#4: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by tdw

I found one in C:\Program Files\Microsoft Office\Office11
called ACWZTOOL.ldb

Could that be it, should I delete it? The actual database file is on a server, should I search the server too before deleting this? By the way, I already tried copying the db file to my computer (which it let me do) then ran it. Same error. In case that means anything.

No you are actually only looking for one with the same name as the database. I take it this is only a single unit database and not a backend/frontend system.

Try copying and renaming the database and see will it open that way. Were there any upgrades to the office suite implemented recently?
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#5: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by mmccarthy

No you are actually only looking for one with the same name as the database. I take it this is only a single unit database and not a backend/frontend system.

Try copying and renaming the database and see will it open that way. Were there any upgrades to the office suite implemented recently?

No upgrades that I am aware of. It was working fine last night.
But your question reminded me that when I tried to open it earlier the lower left of the window said "repairing" and had a progress bar, then my computer froze and I rebooted it. And yes, it is a single database file. I haven't educated myself yet on backend/frontend yet, so as far as I know that is not what we have.
I tried renaming the version that I just copied to my desktop, same error. However, a different copy of it that I have on my desktop (that I use for experimenting with) works fine.
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#6: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by tdw

No upgrades that I am aware of. It was working fine last night.
But your question reminded me that when I tried to open it earlier the lower left of the window said "repairing" and had a progress bar, then my computer froze and I rebooted it. And yes, it is a single database file. I haven't educated myself yet on backend/frontend yet, so as far as I know that is not what we have.
I tried renaming the version that I just copied to my desktop, same error. However, a different copy of it that I have on my desktop (that I use for experimenting with) works fine.

I wonder if rebooting the server would work?
msquared's Avatar
Administrator
 
Join Date: Aug 2006
Location: Dublin, Ireland
Posts: 10,886
#7: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by tdw

I wonder if rebooting the server would work?

I'm afraid to say it sounds as if the database has been corrupted by something.

I'll see if I can get some of the other experts in here for advice.

Mary
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#8: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by mmccarthy

I'm afraid to say it sounds as if the database has been corrupted by something.

I'll see if I can get some of the other experts in here for advice.

Mary

Yikes! Okay, I am unable to find an .ldb...
The fact that it went into a repair automatically when I opened it this morning...is that evidence of corruption, or is the problem maybe that I had to reboot mid-repair?
prn's Avatar
prn prn is offline
Expert
 
Join Date: Apr 2007
Location: Muncie, IN
Posts: 237
#9: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by tdw

The actual database file is on a server, should I search the server too before deleting this?

There are at least a couple of possible meanings for this: 1) "the program we run is on a server" or 2) "the program we run is on our desktop computers, but the data is on a server" or even 3) "the program we run is on a server and the data is also on a server, but possibly separate from the part we run".

You run Access but then there is a "program," let's call it MYPROG.MDB that tells Access what to do. You need to load that program and it could be on your desktop computer or on a server. Beyond that, Access stores its actual data in "tables" and, depending on how the whole thing was set up, the tables may or may not be stored in MYPROG.MDB. It is quite possible that the tables may actually be stored in something like MYDATA.MDB, which does reside on a server. (It is also possible for Access to use tables that are stored on some other kind of database server rather than tables it manages itself, but since the error message refers to the "Jet database engine" this is not likely.)

Since the error message is complaining about users trying to use the same data at the same time, if is also possible that there may be a file somewhere on the server corresponding to MYDATA.LDB.

Do you have a menu bar near the top of your Access window? Can you see a menu item "Tools"? If so, click that and you may be able to choose "Database Utilities" and then "Linked Table Manager" from that menu. If you can do that, do you get a message box saying "There are no linked tables in the current database"? Or do you get a list of tables with information in parentheses about each? If you get the first message, then the tables are part of the single database program and Mary's suggestion that it sounds corrupted is unfortunately probably right. If you get the list of linked tables, then there is likely to be a file MYDATA.LDB on the server. If so, get EVERYBODY to log off your database application and then delete whichever of MYPROG.LDB and/or MYDATA.LDB you can find on the server.

That may help. I hope it does.

Best Wishes,
Paul
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#10: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by tdw

Yikes! Okay, I am unable to find an .ldb...
The fact that it went into a repair automatically when I opened it this morning...is that evidence of corruption, or is the problem maybe that I had to reboot mid-repair?

UPDATE!

If it helps any, I just tried to open an old backup copy from over a year ago, same error!
Yet the experimental copy on my desktop, that is only about 2 weeks old, opens fine!
msquared's Avatar
Administrator
 
Join Date: Aug 2006
Location: Dublin, Ireland
Posts: 10,886
#11: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Good suggestion Paul but I gather it's a stand alone database.
msquared's Avatar
Administrator
 
Join Date: Aug 2006
Location: Dublin, Ireland
Posts: 10,886
#12: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by tdw

Yikes! Okay, I am unable to find an .ldb...
The fact that it went into a repair automatically when I opened it this morning...is that evidence of corruption, or is the problem maybe that I had to reboot mid-repair?

At a guess I would say this was caused because you had to reboot during a compact and repair.
msquared's Avatar
Administrator
 
Join Date: Aug 2006
Location: Dublin, Ireland
Posts: 10,886
#13: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by mmccarthy

At a guess I would say this was caused because you had to reboot during a compact and repair.

Just thinking. Check to see if Access dumped your database to a copy. It would probably be called db1.mdb and be in the same folder on the server.
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#14: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by mmccarthy

Good suggestion Paul but I gather it's a stand alone database.

Unfortunately I cannot do anything with the file, because the error occurs open trying to open it in the first place. I did what you suggested, however, using my experimental copy on my desktop. It said there are no linked tables.
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#15: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by mmccarthy

Just thinking. Check to see if Access dumped your database to a copy. It would probably be called db1.mdb and be in the same folder on the server.

No, only the same files in that folder that there were before.
Should it have done a "compact and repair" without prompting for my permission first?
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#16: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by tdw

No, only the same files in that folder that there were before.
Should it have done a "compact and repair" without prompting for my permission first?

And why would a backup copy (stored on the server) from last year not work, but a newer copy on my desktop works?
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#17: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by prn

There are at least a couple of possible meanings for this: 1) "the program we run is on a server" or 2) "the program we run is on our desktop computers, but the data is on a server" or even 3) "the program we run is on a server and the data is also on a server, but possibly separate from the part we run".

Sorry I keep posting after myself, but I'm kinda panicking and I want to respond to the above paragraph:
Not sure if this is what you meant, but each computer has the access software on it, the db file is stored on the server.
prn's Avatar
prn prn is offline
Expert
 
Join Date: Apr 2007
Location: Muncie, IN
Posts: 237
#18: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Oh Boy! If you rebooted mid-repair, that could be the problem all right. I hope that is not what happened. If you can get Access to repair the corruption you may be OK. If you can't, you may have to do something drastic like restore from last night's backups (you do back up every night, I hope) and possibly lose any work you managed to do between the backup and restore.

Don't do this lightly, though!

Losing your business data is a serious problem. If you need to restore your data from backups, then if you are not experienced in how to do that with minimal chance of losing anything, talk to someone who is. This is not a good time for "learning on the fly." And much as we all feel sympathy for you and your predicament, if is very difficult and really risky to try to talk someone through this from a distance. We can't see what you are seeing and we can't even be sure we know all the right questions to ask. Who set up your system? Can you get them to help you now?

(Holding my breath)
Paul
prn's Avatar
prn prn is offline
Expert
 
Join Date: Apr 2007
Location: Muncie, IN
Posts: 237
#19: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by tdw

Sorry I keep posting after myself, but I'm kinda panicking and I want to respond to the above paragraph:
Not sure if this is what you meant, but each computer has the access software on it, the db file is stored on the server.

OK. I've gathered that part of the situation now. I'm just someone who writes slowly and the conversation keeps moving on.

Paul
prn's Avatar
prn prn is offline
Expert
 
Join Date: Apr 2007
Location: Muncie, IN
Posts: 237
#20: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by tdw

And why would a backup copy (stored on the server) from last year not work, but a newer copy on my desktop works?

I think this probably indicates that you have something going on on the server. I know it's hard not to panic, but right now you have to WAIT.

Wait for the "compact and repair" operation to finish. If that does not do the job, then try to reboot the server. I don't know if that will help, but that's almost a requirement in a Microsoft environment. Do it carefully, though. Let everything finish first before you do that.

I've got some more suggestions if it doesn't help, but first things first.

Paul
msquared's Avatar
Administrator
 
Join Date: Aug 2006
Location: Dublin, Ireland
Posts: 10,886
#21: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Try opening a new blank database and see if you can import the tables and other objects from the other database.

Mary
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#22: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by prn

Oh Boy! If you rebooted mid-repair, that could be the problem all right. I hope that is not what happened. If you can get Access to repair the corruption you may be OK. If you can't, you may have to do something drastic like restore from last night's backups (you do back up every night, I hope) and possibly lose any work you managed to do between the backup and restore.

Don't do this lightly, though!

Losing your business data is a serious problem. If you need to restore your data from backups, then if you are not experienced in how to do that with minimal chance of losing anything, talk to someone who is. This is not a good time for "learning on the fly." And much as we all feel sympathy for you and your predicament, if is very difficult and really risky to try to talk someone through this from a distance. We can't see what you are seeing and we can't even be sure we know all the right questions to ask. Who set up your system? Can you get them to help you now?

(Holding my breath)
Paul

(pulling my hair out)
Well, we have a part time IT guy who is in charge of things like setting up new computers, maintaining the server, and doing the server backups. Unfortunately, the server backs up twice per week, tonight is supposed to be the next backup. He would be the one to ask about restoring stuff, but he has almost no experience programming Access.

How can I try to get it to complete and/or start over on a compact/repair?

And lastly, any idea what might have caused it to need to repair in the first place? I have been creating new forms, etc. over the past several months. In case my boss asks, could it have been something that I did? It was working fine last night. Then suddenly not this morning, I did nothing in-between. Was it already corrupted before I had to reboot during the repair (which froze)?
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#23: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by mmccarthy

Try opening a new blank database and see if you can import the tables and other objects from the other database.

Mary

ok, my last response took a while to type and I missed several posts in the mean time! :-)

Not with a BLANK database, but with my still functioning experiment copy of the db, I tried to import from the real db file and got the same error message.
prn's Avatar
prn prn is offline
Expert
 
Join Date: Apr 2007
Location: Muncie, IN
Posts: 237
#24: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


OK. I got that last post off, so while you are waiting, I'll write: :)

If rebooting after the "compact and repair" does not do the job, the first question is when was your most recent backup? If it wasn't last night, then the next thing you do after getting back whatever you can should be to start preparing nightly backups!

Take that backup copy that works on your PC, make a copy with a different name and put that onto the server. Does that work there?

Whenever your most recent backup is from, restore it to a new location and a new name on the server and try that.Let us know about the results.

Paul
Rabbit's Avatar
Expert
 
Join Date: Jan 2007
Location: California
Posts: 3,835
#25: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Did anyone happen to leave their computer on with the database opened? And by anyone I mean anyone that has access to that file on that server, not just your people.
msquared's Avatar
Administrator
 
Join Date: Aug 2006
Location: Dublin, Ireland
Posts: 10,886
#26: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Compact and Repair can be set to run everytime the database closes. Open the good copy of your database. Go to Tools - Options. Under the General tab is the Compact On Close ticked? If it is I would untick it for now.
prn's Avatar
prn prn is offline
Expert
 
Join Date: Apr 2007
Location: Muncie, IN
Posts: 237
#27: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


It could be worse than twice a week, but it could be better. Get your part-time guy to make it seven times a week! Even then, it's still possible to lose data, but the less you lose the better and it's generally hard to back up while your database is operational. (That's one of the features that distinguishes a big-time, big-business class database system from Access. :( )

See if you can get the last backup restored (without touching the current one) and see if you can test that on you PC.

Paul
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#28: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by mmccarthy

Compact and Repair can be set to run everytime the database closes. Open the good copy of your database. Go to Tools - Options. Under the General tab is the Compact On Close ticked? If it is I would untick it for now.

I checked and no, Compact On Close is not checked.

Nobody admits to having had the file open overnight.
msquared's Avatar
Administrator
 
Join Date: Aug 2006
Location: Dublin, Ireland
Posts: 10,886
#29: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by tdw

I checked and no, Compact On Close is not checked.

Nobody admits to having had the file open overnight.

If compact on close is not ticked on your computer it must be ticked on someone elses. If there are not too many users involved check each machine as this is an Access setting rather than a database one. Access shouldn't run a repair without prompting.
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#30: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by prn

It could be worse than twice a week, but it could be better. Get your part-time guy to make it seven times a week! Even then, it's still possible to lose data, but the less you lose the better and it's generally hard to back up while your database is operational. (That's one of the features that distinguishes a big-time, big-business class database system from Access. :( )

See if you can get the last backup restored (without touching the current one) and see if you can test that on you PC.

Paul

Okay. We have had this happen once before, last year. But that time we thought it was because an older version of Access (2000) attempted to compact and repair. We use 2003 now and this time it DID NOT PROMPT for a compact and repair. It did it on it's own when I opened the file.
Is there ANY WAY to get it to repair that file again? I know where the compact and repair option is, but I would have to get the file open first, right? and it won't open at all.
prn's Avatar
prn prn is offline
Expert
 
Join Date: Apr 2007
Location: Muncie, IN
Posts: 237
#31: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by mmccarthy

If compact on close is not ticked on your computer it must be ticked on someone elses. If there are not too many users involved check each machine as this is an Access setting rather than a database one. Access shouldn't run a repair without prompting.

And while you're at it, make sure that every computer that might connect to this database is NOT trying to connect to it now. Isolate the problem as much as possible.

Paul
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#32: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by mmccarthy

If compact on close is not ticked on your computer it must be ticked on someone elses. If there are not too many users involved check each machine as this is an Access setting rather than a database one. Access shouldn't run a repair without prompting.

That's what I thought, but it did this morning. All I did was double-click the shortcut to launch the file, it opened Access, showed "repairing" with a progress bar in the lower left corner (application task bar?), froze, and I had to reboot.
No one has compact on close checked.
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#33: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by tdw

That's what I thought, but it did this morning. All I did was double-click the shortcut to launch the file, it opened Access, showed "repairing" with a progress bar in the lower left corner (application task bar?), froze, and I had to reboot.
No one has compact on close checked.

Could corruption have been caused by my improvements to the database, considering that it worked fine even since the last time I changed anything?
prn's Avatar
prn prn is offline
Expert
 
Join Date: Apr 2007
Location: Muncie, IN
Posts: 237
#34: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by tdw

Okay. We have had this happen once before, last year. But that time we thought it was because an older version of Access (2000) attempted to compact and repair. We use 2003 now and this time it DID NOT PROMPT for a compact and repair. It did it on it's own when I opened the file.
Is there ANY WAY to get it to repair that file again? I know where the compact and repair option is, but I would have to get the file open first, right? and it won't open at all.

Just to make sure we all understand, you are sure that it started to compact and repair this morning when YOU opened the database, right? It could not have been that it froze while compacting when someone else closed it last night?

I'm out of my depth on why that would happen. And, for that matter, on whether you can get it to repair a database that it can't open.

Paul
msquared's Avatar
Administrator
 
Join Date: Aug 2006
Location: Dublin, Ireland
Posts: 10,886
#35: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by tdw

That's what I thought, but it did this morning. All I did was double-click the shortcut to launch the file, it opened Access, showed "repairing" with a progress bar in the lower left corner (application task bar?), froze, and I had to reboot.
No one has compact on close checked.

The only conclusion I can come to is that it was already corrupted and was trying to repair itself.

You said you moved from 2000 to 2003. Did you convert the database?
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#36: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by mmccarthy

The only conclusion I can come to is that it was already corrupted and was trying to repair itself.

You said you moved from 2000 to 2003. Did you convert the database?

Yes, it began a repair (a compact/repair I supposed, though all it said was "repairing") when I OPENED it this morning, and I was the first person today to try to open it.

We didn't MOVE from 2000 to 2003 exactly. The database was created by some other guy (who is now in jail, ironically) in, I believe, Access 2002, and did not set it up to be compatible with older versions. One of our computers last year was still running Access 2000, and we mistakenly clicked yes when it prompted us to do a compact and repair because it was corrupted. That in itself corrupted it worse because it tried to compact/repair a 2002 db using Access 2000. That time, however, it was not giving us the error message it is now. That time it was a corruption error message. All of the computers now have Access 2003, and from my understanding having a NEWER version should not hurt the 2002 file, is that right? No we never "converted the file", but I have been making improvements to it using 2003.
prn's Avatar
prn prn is offline
Expert
 
Join Date: Apr 2007
Location: Muncie, IN
Posts: 237
#37: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


The one thing that keeps nagging at my mind is the question of how the various backup versions work or don't work. I find it extremely suspicious that an old backup does not work from the server, but a (different) old backup version does work from your PC.

I have to recommend taking (at least) those two versions and copying them to the opposite locations (i.e., the one from the server to your PC and the one that does work on your PC to the server) and trying them again from those locations. There looks to be something very fishy going on and I still think it would be worth checking. If the one that does work on your PC fails on the server, then we are definitely looking at an issue larger than just the one corrupted database (though that one is almost certainly corrupted by now even if it had not been before).
msquared's Avatar
Administrator
 
Join Date: Aug 2006
Location: Dublin, Ireland
Posts: 10,886
#38: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by tdw

Yes, it began a repair (a compact/repair I supposed, though all it said was "repairing") when I OPENED it this morning, and I was the first person today to try to open it.

We didn't MOVE from 2000 to 2003 exactly. The database was created by some other guy (who is now in jail, ironically) in, I believe, Access 2002, and did not set it up to be compatible with older versions. One of our computers last year was still running Access 2000, and we mistakenly clicked yes when it prompted us to do a compact and repair because it was corrupted. That in itself corrupted it worse because it tried to compact/repair a 2002 db using Access 2000. That time, however, it was not giving us the error message it is now. That time it was a corruption error message. All of the computers now have Access 2003, and from my understanding having a NEWER version should not hurt the 2002 file, is that right? No we never "converted the file", but I have been making improvements to it using 2003.

2002 to 2003 should be alright.

I think prn is right something happened last night and the database got stuck in a repair mode. You rebooting it this morning was probably the last straw.

Most of the experts aren't online at the moment. I think what's going to be required in a decompile run from outside the program. I'm no expert on this issues and would prefer to wait for better heads to intervene on this. It's a dangerous procedure and is only used as a last resort.

This essentially decompiles the application and should resolve whatever locked it up.

My advice is to wait for them to come online later and give more informed advice on this issue.

Mary
msquared's Avatar
Administrator
 
Join Date: Aug 2006
Location: Dublin, Ireland
Posts: 10,886
#39: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by prn

The one thing that keeps nagging at my mind is the question of how the various backup versions work or don't work. I find it extremely suspicious that an old backup does not work from the server, but a (different) old backup version does work from your PC.

I have to recommend taking (at least) those two versions and copying them to the opposite locations (i.e., the one from the server to your PC and the one that does work on your PC to the server) and trying them again from those locations. There looks to be something very fishy going on and I still think it would be worth checking. If the one that does work on your PC fails on the server, then we are definitely looking at an issue larger than just the one corrupted database (though that one is almost certainly corrupted by now even if it had not been before).

I'm with Paul on this. It's worth trying to pin down whether there is a bigger problem with the server.
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#40: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by prn

The one thing that keeps nagging at my mind is the question of how the various backup versions work or don't work. I find it extremely suspicious that an old backup does not work from the server, but a (different) old backup version does work from your PC.

I have to recommend taking (at least) those two versions and copying them to the opposite locations (i.e., the one from the server to your PC and the one that does work on your PC to the server) and trying them again from those locations. There looks to be something very fishy going on and I still think it would be worth checking. If the one that does work on your PC fails on the server, then we are definitely looking at an issue larger than just the one corrupted database (though that one is almost certainly corrupted by now even if it had not been before).

I will try the swap. It seems very strange to me too that one copy works while another doesn't. Unless the corruption that occured was server specific, affecting all Access files on the server (conspiracy theory ;-) ).
Before trying anything very risky, there is one more option. I can have our IT guy come in and restore Monday's backup copy, then redo all of this weeks changes. It will be challenging to gather all of the info to do this, but it's not impossible. However, if old copies on the server are also not working, I fear that the same may be true after restoring Monday's backup of the db too. Fear unfounded? I hope so.
msquared's Avatar
Administrator
 
Join Date: Aug 2006
Location: Dublin, Ireland
Posts: 10,886
#41: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by tdw

I will try the swap. It seems very strange to me too that one copy works while another doesn't. Unless the corruption that occured was server specific, affecting all Access files on the server (conspiracy theory ;-) ).
Before trying anything very risky, there is one more option. I can have our IT guy come in and restore Monday's backup copy, then redo all of this weeks changes. It will be challenging to gather all of the info to do this, but it's not impossible. However, if old copies on the server are also not working, I fear that the same may be true after restoring Monday's backup of the db too. Fear unfounded? I hope so.

I don't think unfortunately we are going to get a quick fix on this issue. Let us know how you get on with the swap.
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#42: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by mmccarthy

I don't think unfortunately we are going to get a quick fix on this issue. Let us know how you get on with the swap.

Working on the swap now.
It's going to take about 12 minutes per file transfer apparently, although this morning I coped the db to my desktop in just a minute or two (no, I didn't copy a shortcut).

Just for the heck of it, here are the names of the three copies that I am working with.
1. Original copy (the real database): "ORDERS DATABASE.mdb"
2. Backup copy (on the server): "ORDERS DATABASE_Backup.mdb"
3. Experimental copy (on my desktop): "orders db EXPERIMENTAL COPY.mdb"
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#43: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Also, I have to go to the DMV, and considering it is Friday I'll be there forever. Thank you all so much for all you've done to help! I'll be back later.
NeoPa's Avatar
Administrator
 
Join Date: Oct 2006
Location: London - UK
Posts: 15,742
#44: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by tdw

I checked and no, Compact On Close is not checked.

Nobody admits to having had the file open overnight.

*Edit* This was the latest post when I prepared this - wow it's moving fast *Edit*

A way to determine if the file is (currently) open elsewhere, and therefore locked, is to try to rename it.
If it works then it isn't locked and you should probably rename it back straight away.
If it is, get your IT guy to determine where it's open and by whom.

Otherwise, I would listen carefully to Paul (prn) as he sounds like he knows what he's talking about. Remember, slowly and carefully is better than quickly and (OH F*CK!)

In answer to an earlier question, Access can often get its knickers in a twist without anyone doing anything wrong. It's almost certainly responded to something you did, but probably not anything you did wrong. Don't tell the boss, but rebooting (or crashing out) during the Repair process was certainly not a good idea - but it's a lesson learned, and you probably weren't to know.

Good luck.
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#45: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by tdw

Also, I have to go to the DMV, and considering it is Friday I'll be there forever. Thank you all so much for all you've done to help! I'll be back later.

Ok, I really leaving for the DMV after this post:

Update...
The swap didn't change anything, the version that was on my desktop runs fine from the server, the backup version from the server will not run from my desktop.
Interestingly, the backup version is duplicated in another folder on the server, and neither one will run. Also, I found another old copy called "ORDERS DATABASE old version" (which is also from last year, prior to some changes we made to it), it is also on the server and WILL run!
tdw's Avatar
tdw tdw is offline
Familiar Sight
 
Join Date: Mar 2007
Location: Woodbridge, Virginia
Posts: 206
#46: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by NeoPa

*Edit* This was the latest post when I prepared this - wow it's moving fast *Edit*

A way to determine if the file is (currently) open elsewhere, and therefore locked, is to try to rename it.
If it works then it isn't locked and you should probably rename it back straight away.
If it is, get your IT guy to determine where it's open and by whom.

Otherwise, I would listen carefully to Paul (prn) as he sounds like he knows what he's talking about. Remember, slowly and carefully is better than quickly and (OH F*CK!)

In answer to an earlier question, Access can often get its knickers in a twist without anyone doing anything wrong. It's almost certainly responded to something you did, but probably not anything you did wrong. Don't tell the boss, but rebooting (or crashing out) during the Repair process was certainly not a good idea - but it's a lesson learned, and you probably weren't to know.

Good luck.

On renaming: it won't work no matter how I rename it, but it does let me rename it.
NeoPa's Avatar
Administrator
 
Join Date: Oct 2006
Location: London - UK
Posts: 15,742
#47: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by tdw

On renaming: it won't work no matter how I rename it, but it does let me rename it.

That merely tells you that the issue is not that the file is currently locked. Good.
NeoPa's Avatar
Administrator
 
Join Date: Oct 2006
Location: London - UK
Posts: 15,742
#48: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Let's get something clear :
Access will go into Repair Mode (not compact & repair) spontaneously if, on opening a database, it detects an obvious corruption.

This dates back to when the Compact & Repair facilities were separate on the menus too.
NeoPa's Avatar
Administrator
 
Join Date: Oct 2006
Location: London - UK
Posts: 15,742
#49: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


The swap idea was a good one. The results surprised me as I expected the reverse.
As it is not a server environment (could have got complex) issue, I think the best approach at this time is one I think outlined by Paul and also taken up by tdw, which is to get the latest working version and try to bring it up-to-date manually.
Depending on what changes were applied (Data; Code; Form or report design), it may be possible to import them from the latest (corrupted) version.
msquared's Avatar
Administrator
 
Join Date: Aug 2006
Location: Dublin, Ireland
Posts: 10,886
#50: May 4 '07

re: Can't open DB! Super Emergency Pls Help Quick!


Quote:

Originally Posted by NeoPa

The swap idea was a good one. The results surprised me as I expected the reverse.
As it is not a server environment (could have got complex) issue, I think the best approach at this time is one I think outlined by Paul and also taken up by tdw, which is to get the latest working version and try to bring it up-to-date manually.
Depending on what changes were applied (Data; Code; Form or report design), it may be possible to import them from the latest (corrupted) version.

We tried an import earlier. I gather it didn't work
Reply


Similar Microsoft Access / VBA bytes