Every guide lists its sources, tips, and warnings. Read our editorial policy.

How to Fix Error 0x8007007E When Launching an App (DLL Missing)

Error 0x8007007E means the app asked for a module — a DLL — that is not on your PC, usually a Visual C++ or DirectX runtime. Identify the missing DLL, install the official runtime that provides it, and the app launches.

The short answer

0x8007007E is ERROR_MOD_NOT_FOUND: a DLL the app needs is missing. Read the dialog for the DLL name, then install the official runtime that contains it — Visual C++ Redistributable for `MSVCP`/`VCRUNTIME` DLLs, DirectX runtime for `XINPUT`/`D3D` DLLs. Reinstall the app if its own bundled DLL is the one missing.

Download the full guide (PDF) Print checklist
Share
Set 52runoob as a preferred source on Google

You double-click the app and it never opens — instead you get `0x8007007E: The specified module could not be found.` The app itself is installed fine; what is missing is a library it depends on, most often part of the Visual C++ runtime or DirectX. The error names the module when it feels generous, and the fix is always the same: install the official package that provides it — never a single DLL from a download site.

Quick steps

  1. Read the DLL name in the error dialog
  2. Check Event Viewer for the exact missing module
  3. Install Visual C++ Redistributable for MSVCP/VCRUNTIME DLLs
  4. Install the DirectX runtime for XINPUT/D3D DLLs
  5. Reinstall the app to restore its own bundled DLLs
  6. Run sfc if a Windows system DLL is the missing one

Things you'll need

  • The error dialog with the DLL name, or the app's name
  • An administrator account for installing runtimes
  • The Visual C++ Redistributable from Microsoft's site
  • Ten minutes and a reboot if SFC repairs anything

Step-by-step

Method 1 of 3

Method 1 of 3: Identify the Missing Module

PDF
Step 1: Read the DLL Name in the Dialog Download image

Step 1: Read the DLL Name in the Dialog

The error usually names the module it could not find — something like `MSVCP140.dll`, `VCRUNTIME140.dll`, or `XINPUT1_3.dll`. Write it down exactly. The name tells you which package provides it: `MSVCP` and `VCRUNTIME` mean Visual C++, `XINPUT` and `D3D` mean DirectX, and anything else is usually the app's own file.

Step 2: Confirm It in Event Viewer When the Dialog Is Vague Download image

Step 2: Confirm It in Event Viewer When the Dialog Is Vague

When the dialog names no DLL, open Event Viewer with `eventvwr`, go to `Windows Logs > Application`, and find the error entry for the app's crash. The detail pane lists the faulting module. That name is the exact library to hunt — write it down before you install anything.

Step 3: Check the Antivirus Quarantine Download image

Step 3: Check the Antivirus Quarantine

Security tools sometimes quarantine an app's DLL as a false positive, and the next launch fails with module-not-found. Open your antivirus console and check the quarantine or history for the app's folder or the missing DLL name. Restore it and add the app's folder to the exclusion list so it is not taken again.

Step 4: Check Whether You Mix 32-bit and 64-bit Download image

Step 4: Check Whether You Mix 32-bit and 64-bit

A 64-bit app cannot load a 32-bit DLL, and vice versa — and the failure reports as module not found. Check the app's architecture in Task Manager's Details tab, then match it when installing runtimes in the next method. On 64-bit Windows you usually need both x64 and x86 runtimes installed.

Step 5: Look at the App's Own Folder First Download image

Step 5: Look at the App's Own Folder First

Open the app's install folder and check whether the missing DLL is sitting right there — many apps bundle their own libraries. If it is present but still reports missing, the app's working directory is wrong. Reinstalling the app in Method 2 puts every bundled file back where it belongs.

Method 2 of 3

Method 2 of 3: Install the Official Runtime

PDF
Step 6: Install Visual C++ Redistributable for MSVCP and VCRUNTIME DLLs Download image

Step 6: Install Visual C++ Redistributable for MSVCP and VCRUNTIME DLLs

For `MSVCP140.dll`, `VCRUNTIME140.dll`, or `VCRUNTIME140_1.dll`, download the Visual C++ Redistributable for Visual Studio 2015–2022 from Microsoft's official page. Install both the x64 and x86 packages on a 64-bit PC — many apps are still 32-bit. Launch the app again afterwards; this is the fix for the majority of 0x8007007E errors.

Step 7: Install the DirectX Runtime for XINPUT and D3D DLLs Download image

Step 7: Install the DirectX Runtime for XINPUT and D3D DLLs

For `XINPUT1_3.dll`, `D3DX9_43.dll`, or `D3DCOMPILER_43.dll`, install Microsoft's DirectX End-User Runtime. Windows includes modern DirectX, but older games and tools call the legacy DLLs that only this package provides. After installing, the app finds its module and launches.

Step 8: Reinstall the App to Restore Its Own DLLs Download image

Step 8: Reinstall the App to Restore Its Own DLLs

When the missing name is the app's own library — `appname.dll`, not a runtime file — the install itself is incomplete. Uninstall the app from `Settings > Apps`, download a fresh copy from the vendor, and install it to the default path. The reinstall restores every bundled file with the right structure.

Step 9: Install .NET When the App Depends on It Download image

Step 9: Install .NET When the App Depends on It

For `mscoree.dll` or errors mentioning the .NET Framework, install the current .NET runtime or enable .NET Framework 3.5 under `Turn Windows features on or off`. The app launches once its framework dependency is present. Check the vendor's requirements page for which version it needs.

Step 10: Never Download a Single DLL File Download image

Step 10: Never Download a Single DLL File

DLL-download sites offer the exact file name you are missing, and using them is the one thing not to do. Single DLLs from these sites are frequently outdated, mismatched, or malicious — and even a clean one fixes one name while three more surface. Install the official package that provides the DLL instead; it registers the library correctly and provides the whole dependency set.

Method 3 of 3

Method 3 of 3: System-Level Repairs

PDF
Step 11: Run SFC When a System DLL Is Missing Download image

Step 11: Run SFC When a System DLL Is Missing

If the missing module is a Windows system file — `kernel32.dll`, `user32.dll`, or similar — Windows itself is damaged. Run `sfc /scannow` in an elevated terminal. It restores protected system files from the component store. Reboot after it finishes, then launch the app.

Step 12: Follow With DISM if SFC Cannot Repair Download image

Step 12: Follow With DISM if SFC Cannot Repair

When SFC reports damage it could not fix, rebuild the store first: `DISM /Online /Cleanup-Image /RestoreHealth`, then `sfc /scannow` again. System-DLL errors that survive this pair are rare, and at that point the app itself is the remaining suspect.

Step 13: Check the PATH Environment Variable Download image

Step 13: Check the PATH Environment Variable

Some apps locate their DLLs through PATH, and a pruned or rewritten PATH makes them report modules missing that exist. Search Start for `environment variables` and inspect the Path entry under System variables. It should include `C:\Windows\System32`. Restore anything obviously removed, reboot, and retry.

Step 14: Use System Restore if the App Worked Recently Download image

Step 14: Use System Restore if the App Worked Recently

If the app launched last week and fails now, roll the system back to before the break: search Start for `create a restore point`, open System Protection, and choose System Restore. Pick a date when the app worked. Restore keeps your files but reinstalls the runtime and app state from that date.

Step 15: Try a Clean Boot to Rule Out Conflicts Download image

Step 15: Try a Clean Boot to Rule Out Conflicts

A background service can block a DLL from loading. Run `msconfig`, hide Microsoft services, disable the rest, and reboot into the clean state. Launch the app there. If it opens, re-enable services in halves to find the conflicting one — usually a security or overlay tool.

Tips

  • Read the DLL name first. MSVCP and VCRUNTIME mean Visual C++, XINPUT and D3D mean DirectX — the name is the instructions.
  • Install both x64 and x86 Visual C++ packages on 64-bit Windows. Many apps are still 32-bit.
  • The rule is absolute: runtimes from Microsoft, never single DLLs from download sites.
  • Event Viewer names the missing module even when the dialog does not.

Warnings

  • Never download individual DLL files from DLL sites. They are the most common source of infected and mismatched libraries.
  • Do not copy DLLs into C:\Windows\System32 by hand — register the official package instead.
  • System Restore rolls back installed apps and drivers to the restore date. Note what you installed since then.
  • Do not assume the app is broken when a runtime is missing — reinstall the runtime first, not the app.

Frequently asked questions

Which package do I install for MSVCP140.dll?

The Visual C++ Redistributable for Visual Studio 2015–2022, from Microsoft's official page. Install both the x64 and x86 builds on a 64-bit PC. That single package provides MSVCP140.dll, VCRUNTIME140.dll, and the rest of the set.

Why did the app work before and fail now?

Something removed or replaced the DLL since then — an antivirus quarantine, a cleanup tool, or a Windows update that changed a dependency. Check quarantine first, then reinstall the runtime. System Restore to a date when it worked is the fast rollback.

Is it safe to download just the one DLL I am missing?

No. Single-DLL sites are the classic source of mismatched and infected libraries, and one missing name usually hides several more. Install the official runtime package — it provides the DLL plus every related dependency, registered correctly.

The missing DLL is the app's own file, not a runtime one. What now?

Reinstall the app. Its own libraries come from the vendor's installer, not from any runtime package. Uninstall, download fresh from the vendor, install to the default path, and launch.

References

  1. Microsoft Learn — System Error Codes 0–499 (0x8007007E, ERROR_MOD_NOT_FOUND). https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499-
  2. Microsoft Learn — Latest supported Visual C++ Redistributable downloads. https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist
  3. Microsoft — DirectX End-User Runtime. https://www.microsoft.com/en-us/download/details.aspx?id=35
  4. Microsoft Support — Use System File Checker in Windows. https://support.microsoft.com/en-us/windows/using-system-file-checker-in-windows-365e0031-36b1-6031-f804-8fd86e0ef4ca
  5. Microsoft Learn — Repair a Windows image with DISM. https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/repair-a-windows-image
  6. Microsoft Support — How to perform a clean boot in Windows. https://support.microsoft.com/en-us/topic/how-to-perform-a-clean-boot-in-windows-da2f9573-6eec-00ad-2f8a-97a2b7b6fb24

Every guide is reviewed against its sources. See our editorial policy.

Get one fix like this every week

One short email with the most useful new guide and a printable checklist. No spam, unsubscribe anytime.

Reader comments

0 so far

Finished this guide? Tell other readers what worked, what didn't, and what you would change.

Stuck on a step? Tell us your device model and what happened — an editor reads every comment and usually replies within 48 hours.

Be kind and constructive. Comments are published instantly.