If I delete this folder, the application then performs normally. I have found that a clone copy of the database has been put in to following folder:Ĭ:\Users\\AppData\Local\VirtualStore\ProgramData\ How can we make it so normal users can write (and create files) in the C:\ProgramData\ folder? Or are we misusing this folder? I was under the impression that is the correct place to put shared program data (for all users) and many other applications seem to have put their data there on my computer. The only thing which fixes the problem seems to be to move the database into another folder (eg C:\applicationname) which is not best practice OR running the application with Administrator privileges by changing the shortcut. Even granting 'Everyone' full control still doesn't help. We thought that granting the 'Users' group full permissions to this folder would fix the problem, however it makes no difference.
It seems that by default (and perhaps due to UAC) users (including admins) don't have permission to write to the applications folder by default.
On computers with UAC enabled we find that accessing the database fails as it seems it cannot create the lock file. We have an application which tries to write to an Access database (.mdb) in the C:\ProgramData\ folder.