Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System Error: VCRUNTIME140_1.dll was not found #7564

Closed
johanghostwolf opened this issue Mar 22, 2022 · 16 comments
Closed

System Error: VCRUNTIME140_1.dll was not found #7564

johanghostwolf opened this issue Mar 22, 2022 · 16 comments

Comments

@johanghostwolf
Copy link

Updated to version 2.7.0 on Windows 11. When I try to lunch KeePassXC It throws an error saying "The code execution cannot proceed because VCRUNTIME140_1.dll was not found. Reinstalling the program may fix this problem." I have done a clean install and error is still showing.

@johanghostwolf
Copy link
Author

This is a very important Issue because I cannot get to my passwords now.

@phoerious
Copy link
Member

Try installing the appropriate runtime library (x64) from here: https://docs.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022

@phoerious phoerious assigned droidmonkey and unassigned phoerious Mar 22, 2022
@johanghostwolf
Copy link
Author

After installing the library, I am able to open KeePassXC.

@phoerious phoerious pinned this issue Mar 22, 2022
@phoerious phoerious changed the title KeePassXE.exe - System Error System Error: VCRUNTIME140_1.dll was not found Mar 22, 2022
@phoerious
Copy link
Member

phoerious commented Mar 22, 2022

@droidmonkey May need to check if this is installed and if not, install it alongside KeePassXC.

@droidmonkey
Copy link
Member

What version of windows are you running? This hasn't been needed in a long time.

@johanghostwolf
Copy link
Author

johanghostwolf commented Mar 22, 2022

Windows 11 Version 21H2 OS build 22000.556

@ChiaYen-Kan
Copy link

i try to upgrade to version 2.7.0 on Windows 7 and install VC runtime library,
but it can't work, and display miss "api-ms-win-core-kernel32-legacy-l1-1-0.dll"
how to run version 2.7.0 on Windows 7 ?

@droidmonkey
Copy link
Member

Windows 7 is end of life for 2 years, we do not support running on that operating system.

@LRystrom
Copy link

LRystrom commented Mar 22, 2022

I am having problems with new update as well. When I attempt to run KeepassXC I see a window momentarily appear on the screen then it disappears. The task manager shows that KeepassXC is still running. I tried installing the VC redist off the https://keepassxc.org/blog/2022-03-21-2.7.0-released/ page. After accepting an offer to repair, KeepassXC still was not coming up.

OS: Windows 10 Enterprise 20H2.

I uninstalled new the KeepassXC and then installed version 2.6.6 which runs with no problems. This makes me think it isn't a minimize-to-tray/minimize-on-startup issue.

@phoerious
Copy link
Member

Sounds like you have minimize to tray enabled together with minimize on startup.

@Fernerph
Copy link

I had the same problem as the original issue together with
VCRUNTIME140.dll
MSVCP140.dll
on windows 10, version 10.0.19042 Build 19042.

Removing three old runtime library versions from my system (no words for that) and installing the latest version as mentioned by @phoerious solved it for me too. Thanks for the help!

@jake9696
Copy link

I had the same problem on Windows 10 Home (version 21H2 build 19044.1586) and installing the visual studio runtime linked by phoerious in their comment fixed it for me.

@FoxP
Copy link

FoxP commented Mar 24, 2022

I have following error on Windows 8.1 when starting KeepassXC :

image

image

@tobikster
Copy link

I faced the same issue (missing VCRUNTIME140.dll) while updating KeepassXC on Windows 10 Home.

My OS configuration:

  • Version: 20H2
  • Compilation: 19042.1526
  • Features: Windows Feature Experience Pack 120.2212.4170.0

@phoerious
Copy link
Member

Windows 7 and 8.1 are unsupported and will not work. @droidmonkey created a legacy build for those, which you can download from the GitHub releases page, but we won't support those indefinitely. https://github.com/keepassxreboot/keepassxc/releases/tag/2.7.0

@0xpr03
Copy link

0xpr03 commented Mar 24, 2022

To clarify: Same issue here, completely new win10 installation, fresh MSI installer & portable. Failing due to various MSVC redist dlls missing.
Downloading the 2022 x64 version fixed it for me.

@keepassxreboot keepassxreboot locked and limited conversation to collaborators Mar 25, 2022
droidmonkey added a commit that referenced this issue Sep 30, 2022
droidmonkey added a commit that referenced this issue Sep 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

10 participants