#283 "failed to lock configuration file"

open
nobody
5
2015-01-02
2011-01-17
Anonymous
No

After upgrade to v3.24.01 error message on opening program every time

I took a jpeg of the message (included)

Discussion


  • Anonymous
    2011-01-17

    PWS error message

     
    Attachments
  • DrK
    DrK
    2011-01-17

    The message is clear - assuming that you are not running another instance of PasswordSafe, you don't have permission to create the lock file in that directory.

    I assume that you are running Vista or Windows 7 (this normally doesn't happen with Windows XP), you may have Administrator permission but UAC (User Account Control) asks you before elevating you from an ordinary user to one with Administrator rights. Unfortunately, it can't do this once PasswordSafe is running.

    Two solutions:
    1. NOT RECOMMENDED - run PasswordSafe as Administrator (right click on shortcut and select it), or
    2. Move you database into a subdirectory of "My Documents" (maybe use the new "My Safes" sub-directory) as you should have full access to all files and directories here.

    David

     
  • Jeff
    Jeff
    2013-11-18

    This appears to be exactly my problem as well. The file I'm opening is in a "My Documents" area, but all of the application files are over in 'the forbidden zone'. How do I 'move the database' as suggested in option 2?

     
  • NanooGeek
    NanooGeek
    2015-01-02

    pwsafe.cfg may be the file being complained about. Just installed pwsafe 3.35 under Win 7 x64. That file was put under both %programfiles% and %localappdata%. If that is the case, removing, or renaming the one under %programfiles% should get rid of the error msg. It did on this system.