![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a application where multiple front ends on separate PCs connect to multiple back ends on a server. Each front end links to a single back end at one time, and can specify which back end to link to. There are no locks on the system so more than one front end can be linked to the same back end. Occasionally, a few of the back ends give the message that they can't be opened because 'already opened exclusively by user .. bla bla.' Initially I thought this was a corruption problem, but the files are actually intact. If I close all the front ends, the ldb files in the problem mdbs don't disappear. I can't delete them. If I reboot the back end, then I can delete the ldb files, and the backends become functional again. Even when the ldb file can't be deleted, I can still open the mdb from the front end PC in Access, either normally or exclusively. However trying to open it from my front end application gives the 'can't open' message. Anyone know why I can't delete the ldb files when there is no-one in the mdb file, and there has been no crash? And any suggestions at to what might have caused this? |
#3
| |||
| |||
|
|
If Access closes normally, the last front-end out should delete the LDB. If this is not happening, it would suggest that either you have user whose (network?) permissions do not allow them to delete the file, or that you have a user/machine/network connection that is crashing out and so is not cleaning up after itself. |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
"Allen Browne" <AllenBro... (AT) SeeSig (DOT) invalid> wrote innews:yoKdnSKpAqpuBCbRnZ2dnUVZ_o6dnZ2d (AT) westnet (DOT) com.au: If Access closes normally, the last front-end out should delete the LDB. If this is not happening, it would suggest that either you have user whose (network?) permissions do not allow them to delete the file, or that you have a user/machine/network connection that is crashing out and so is not cleaning up after itself. If it's the latter, you can find it by looking in the open files list in the server's Computer Management tool. -- David W. Fenton * * * * * * * * *http://www.dfenton.com/ contact via website only * *http://www.dfenton.com/DFA/ |
#6
| |||
| |||
|
|
Thanks Allen, The strange thing is that even when all users log out of the database, on all PCs, the ldb file persists on the server and can't be deleted until the server is restarted. Once restarted, it can be deleted, and everything is back to normal. I'm getting the clients to try to identify if it is a single PC that is causing the problem. Once the problem occurs though, all PCs are locked out of that back end. Owen |
#7
| |||
| |||
|
|
Unfortunately in this case, the 'server' is just another PC on the network, and is not running any server software. The clients are not reporting any crashing either. I haven't quite worked out the circumstances in which the problem occurs. |
#8
| |||
| |||
|
|
On Oct 19, 9:50*am, "David-W-Fenton" NoEm... (AT) SeeSignature (DOT) invalid> wrote: "Allen Browne" <AllenBro... (AT) SeeSig (DOT) invalid> wrote innews:yoKdnSKpAqpuBCbR nZ2dnUVZ_o6dnZ2d (AT) westnet (DOT) com.au: If Access closes normally, the last front-end out should delete the LDB. If this is not happening, it would suggest that either you have user whose (network?) permissions do not allow them to delete the file, or that you have a user/machine/network connection that is crashing out and so is not cleaning up after itself. If it's the latter, you can find it by looking in the open files list in the server's Computer Management tool. Unfortunately in this case, the 'server' is just another PC on the network, and is not running any server software. |
|
The clients are not reporting any crashing either. I haven't quite worked out the circumstances in which the problem occurs. |
#9
| |||
| |||
|
|
The strange thing is that even when all users log out of the database, on all PCs, the ldb file persists on the server and can't be deleted until the server is restarted. |
|
Once restarted, it can be deleted, and everything is back to normal. I'm getting the clients to try to identify if it is a single PC that is causing the problem. Once the problem occurs though, all PCs are locked out of that back end. |
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |