When opening forms, running macros and performing a number of other tasks using the MS Access db I have designed, the db refuses to perform the requested task and displays the following error message:
"Error accessing file. Network connection may have been lost"
I have consulted MS Office support where the problem is documented ( and is acknowledged as being a problem with Access. The problem apparently occurs when copying and pasting objects from 1 db into another. The support page says that the only solution is to revert to a 'good known backup copy' of the db. In order to prevent the problem from recurring when copying and pasting objects, support recommends compiling the destination db in the VB editor (by clicking Compile <<database name>> in the VB editor menu) before closing and saving the database.
I experienced this problem several weeks ago and rebuilt most of my db from scratch in order to avoid contaminating future versions with corrupted objects. However, despite doing so (and following the instructions given by support when copying and pasting), the problem has recurred. I have also found myself unable to recompile my db on a number of occasions (as per support instructions), as when clicking Compile <<database name>>, the message "Error accessing file. Network connection may have been lost" again rears its ugly head. This may or may not be connected to the fact that <<database name>> is often the name of the source db, as opposed to the destination db which I am trying to compile.
I am now faced with the propect of having to rewrite all db objects again in order to avoid further contamination of future versions of the db, with no guarantee that the problem will not recur.
Any suggestion you can make would be very much appreciated.
"Error accessing file. Network connection may have been lost"
I have consulted MS Office support where the problem is documented ( and is acknowledged as being a problem with Access. The problem apparently occurs when copying and pasting objects from 1 db into another. The support page says that the only solution is to revert to a 'good known backup copy' of the db. In order to prevent the problem from recurring when copying and pasting objects, support recommends compiling the destination db in the VB editor (by clicking Compile <<database name>> in the VB editor menu) before closing and saving the database.
I experienced this problem several weeks ago and rebuilt most of my db from scratch in order to avoid contaminating future versions with corrupted objects. However, despite doing so (and following the instructions given by support when copying and pasting), the problem has recurred. I have also found myself unable to recompile my db on a number of occasions (as per support instructions), as when clicking Compile <<database name>>, the message "Error accessing file. Network connection may have been lost" again rears its ugly head. This may or may not be connected to the fact that <<database name>> is often the name of the source db, as opposed to the destination db which I am trying to compile.
I am now faced with the propect of having to rewrite all db objects again in order to avoid further contamination of future versions of the db, with no guarantee that the problem will not recur.
Any suggestion you can make would be very much appreciated.