Menu

Application not launching database window

Help
Ingo Meyer
2022-07-14
2022-07-15
  • Ingo Meyer

    Ingo Meyer - 2022-07-14

    Hi, I have a recent problem with KeePass 2.51 on Windows 11. I can start the app and get the password dialogue. Once I enter the password and confirm, the KeePass window drops to the task bar, where it remains but cannot be brought to the foreground. The database does not seem to open. The same happens when I cancel the password dialogue.

    The problem occured today for the first time, without any Windows updates since it last worked yesterday. I tried: rebooting, reinstalling, rolling back to 2.50, starting with -debug, reactivating .NET 3.5. All without success. The Event Log says something like (translated from German): "The programme stopped interacting with Windows and was shut down." I am not seeing any issues in the Windows Defender log that the app was blocked.

    Does anyone have an idea how to solve this?

     
  • Paul

    Paul - 2022-07-14

    Try this:
    Close KeePass.
    Rename %appdata%\KeePass\KeePass.config.xml
    Launch KeePass and test.
    Let us know what happens.

    To get to the config file, open Explorer and paste this into the address bar: %appdata%\KeePass

    cheers, Paul

     
  • Ingo Meyer

    Ingo Meyer - 2022-07-15

    Thank you very much! This solved the issue. And also explains why it did not occur in another user at the same machine.

     

    Last edit: Ingo Meyer 2022-07-15
  • Paul

    Paul - 2022-07-15

    Can you post the rogue config file so we can work out what happened? Edit out any confidential stuff first.

    cheers, Paul

     
  • Ingo Meyer

    Ingo Meyer - 2022-07-15

    Good idea...because I was wondering that myself. Find file attached. All removed parts are marked with [removed]. I would be interested if you find any issues!

     
  • Paul

    Paul - 2022-07-15

    The only thing I can see that might cause it is session switching.

            <WorkspaceLocking>
                <LockOnSessionSwitch>true</LockOnSessionSwitch>
            </WorkspaceLocking>
    

    Change it to false, replace the file and see if it works.

    cheers, Paul

     

Log in to post a comment.