i getting error with database connection
-
i am getting error when i am using database file tht "the "filename.mdb" is opened Exclusively by another user you need permmission to access the flie" how can get over it.
-
i am getting error when i am using database file tht "the "filename.mdb" is opened Exclusively by another user you need permmission to access the flie" how can get over it.
Reboot your computer. If you're still getting it, then something else is starting automatically and gaining a connection. OR, the connection is maintained by a file that is still there ( I seem to recall that Access does something crappy like that ). Look for temporary files and delete them, and maybe make a copy of the file and try connectiing to that. If you can copy it, then nothing has a lock on the file as far as the OS is concerned. Make sure your code closes all connections. The other thing is, sometime when you debug, the process seems to hang around, and it could be your own code that is therefore holding the connection. Christian Graus - Microsoft MVP - C++
-
i am getting error when i am using database file tht "the "filename.mdb" is opened Exclusively by another user you need permmission to access the flie" how can get over it.
Try deleting any *.LDB files in the same folder as the MDB these are used by access to manage simultaneous logins for the MDB, usually these are left without cleanup if the connection is not closed properly