Since you are using MS Access database that's why this type problem arises. Because in ms-access, database architecture used is file system
. In this architecture while opening the database a log file is created and on closing the database that log file deleted.
Therefore in this case make the folder which contains the .mdb file must have the read write and delete permission. Try this; I hope this will definitely resolve your problem.
Best of luck