Link to home
Start Free TrialLog in
Avatar of Brogrim
BrogrimFlag for Ireland

asked on

MS Access _ File Not Found

I have transferred a database (accdb) from one PC to another and I keep getting the message "File Not Found".

The ODBC is connection Fine but when I try to compile I get the message "File Not Found".

Any Ideas
Avatar of TONY TAYLOR
TONY TAYLOR
Flag of United States of America image

Look at the "References".  Were there any connected to the old PC that are not on the new?
Avatar of Brogrim

ASKER

No they are both identical in the list.

I reinstalled the "ms activex data objects 2.8 library" to see would that help but nothing
Have you tried to decompile?

Something like this from the "run box":

"C:\Program Files\Microsoft Office\Office\MSACESS.EXE" "C:\users\you\documents\YourDatabase.mdb" /decompile
Avatar of Brogrim

ASKER

On checking this again on the PC that is working there is a reference for "Microsoft Access 15.0 Object Library", the new one is 15.0,

I have tried to update it but I am getting a message:

"Cant remove control or reference: in use"
Close out of the database, open while holding the "shift" key.  You should be able to remove it at that time.
Avatar of Brogrim

ASKER

I have tried the decompile but it looks like I have wiped all the code, modules wont open and the code behind all command buttons is missing.
I am going to assume that the database got corrupted in the copy.  Try to copy a new version of the file.  Corruption is a big thing with Access databases.
Avatar of Brogrim

ASKER

It wont allow me to do that even opening with the shift key held down
See comment 40832786
Avatar of Brogrim

ASKER

I have just realise that the the MS Access Version where it is working OK is 32 Bit.

The PC I am moving to has a  64 Bit MS Access version.

Is that what is causing me all the problems?
It very well could be.  Without having access to your environment and your files, it is very difficult to tell.  If you are using different references (even if they are named the same, you might have difficulty).

Is it possible to create a new Access database on the new computer and copy all of the Access Objects in to the new database?
Avatar of Jeffrey Coachman
I have transferred a database (accdb) from one PC to another and I keep getting the message "File Not Found".
Lets be clear, ...Is this a split database?

In a split database you don't really "transfer/move" a database.

Each user has a copy of the font end db file on their computer.
The single Back end db file, is typically stored on a shared drive/folder on a server.

Please clarity your setup.
Avatar of Brogrim

ASKER

I have tried that I think it is the "Microsoft Access 15.0 Object Library" reference that is missing on the new PC that is making the difference.
Avatar of Brogrim

ASKER

Jeffrey, It is an Access 10 accdb file with Mysql BackEnd.

I copied the working file and relinked the tables
Avatar of Brogrim

ASKER

I've requested that this question be deleted for the following reason:

I have got completely confused with the questions and as you will see it was months ago and no longer an issue. Apologies for the delay in replying.
ASKER CERTIFIED SOLUTION
Avatar of TONY TAYLOR
TONY TAYLOR
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Brogrim

ASKER

Please excuse my ignorance
No worries.  I don't take (nor meant) any offense.