Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox Installer gives error "VCRUNTIME140_1.dll was not found"

  • 9 svar
  • 7 har dette problem
  • 3894 visninger
  • Seneste svar af mt3ch

more options

I was cleaning out my hard drive and deleting old installs of Microsoft Visual Studio Redistributable packages, and I almost certainly deleted the one that Firefox relies on.

I then attempted to start Firefox, getting the error, "The code execution cannot proceed because VCRUNTIME140_1.dll was not found. Reinstalling the program may fix this problem."

I uninstalled, following the clean install directions, and deleting the "Program Files/Mozilla Firefox/" directory.

Then, I ran the Firefox Installer, newly downloaded, and when running it, it gives the same error, "The code execution cannot proceed because VCRUNTIME140_1.dll was not found. Reinstalling the program may fix this problem." Selecting "Restore Defaults" has no effect either way. The installer then appears to complete in the background, and the Firefox directory is created, along with the executable.

When I run Firefox.exe, it seems to load the program, but any address I type in fails to begin loading. This includes websites (www.google.com) and help/utility pages (about:config). I'm therefore unable to change any settings within Firefox.

I then tried re-installing the "Visual C++ 2008" and "Visual C++ 2015-2019" packages in an attempt to restore that DLL, but that had no effect after repeating the same steps above (clean uninstall, re-install). Which VC++ Redist Package should I be re-installing? Ideally, I should be able to just get a copy of VCRUNTIME140_1.dll and place it where Firefox is looking for it.

Vedhæftede skærmbilleder

Valgt løsning

Manually copying and pasting "vcruntime140_1.dll" from another program into the "C:\Program Files\Mozilla Firefox" directory seemed to rectify the issue. However, this seems tenuous as a fix.

DLL was copied from "C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00.UWPDesktop_14.0.27810.0_x64__8wekyb3d8bbwe"

Læs dette svar i sammenhæng 👍 3

Alle svar (10)

more options

I've run DISM and SFC to cleanup the windows image and file check. After running these both successfully, and reinstalling Firefox through the installer, the problem persists.

Nyttig?

more options

Valgt løsning

Manually copying and pasting "vcruntime140_1.dll" from another program into the "C:\Program Files\Mozilla Firefox" directory seemed to rectify the issue. However, this seems tenuous as a fix.

DLL was copied from "C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00.UWPDesktop_14.0.27810.0_x64__8wekyb3d8bbwe"

Nyttig?

more options

It seems odd that it's looking for an _1 file. In the regular program folder

C:\Program Files\Mozilla Firefox

there should already be a

vcruntime140.dll

file for Firefox's use.

???

I suspect there is a flag somewhere to look for the other one, but off the top of my head, I don't know where that would be.

What if you try this in the Firefox program folder mentioned earlier:

  • right-click vcruntime140.dll > Copy
  • right-click a blank area of the folder > Paste
  • find the copy (e.g., vcruntime140 - Copy.dll) and right-click > Rename it to vcruntime140_1.dll

Does that help?

Nyttig?

more options

Whoops, our replies crossed. Is the _1 file identical to the original one in the folder or is it a newer version?

Nyttig?

more options

Looks like they're significantly different; *140.dll is 86kb, *140_1.dll is 43kb. Like I said, I just searched my machine for a copy of that DLL and copied it over hoping it worked, and having used it all day, so far so good.

  • 140.dll was automatically added during the installation, correctly.

I tried you above suggestion - for more data - and deleted *140_1.dll, then copied/renamed *140.dll as described above. This caused the same issue described, where tabs would fail to start loading. I didn't try a full uninstall/re-install. Suffice to say, 140_1.dll is required on my computer for Firefox to run.

Nyttig?

more options

See also:

  • Bug 1624546 - Include vcruntime140_1.dll for VS2019 16.5 x64 from the redist directory in the package

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)

Nyttig?

more options

I was using Firefox 78.0.2 64 bits on Windows 10 and had the same problem today.

@trevorawestphal solution worked for me, thank you!

Cheers

Nyttig?

more options

Trying to resolve this problem for a friend. She had the same problem of Firefox not loading any websites so I tried refreshing and then reinstalling Firefox v80. I got this same error during installation "firefox.exe - System Error The code execution cannot proceed because VCRUNTIME140_1.dll was not found. Reinstalling the program may fix this problem."

The problem is this file does not exist on her system anywhere. Nobody as far as I know uninstalled any redistributables or runtimes - my friend never uninstalls anything.

So, for anyone who also does not have a spare copy of this file, you may need to find a friend with Windows 10 and copy the file from their system.

However, I searched my system and I have 3 copies of this file - in C:\Windows\system32, in C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00.UWPDesktop_14.0.29016.0_x64__8wekyb3d8bbwe\ and in C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00.UWPDesktop_14.0.27810.0_x64__8wekyb3d8bbwe\ so it's not exactly clear which one to use except I don't think the 32-bit one will help. I will try the others. (I can't do it yet but I'm posting this now while it's fresh in my mind but will update later if it works.) But if these files don't exist on someone's system, how would they fix their Firefox? This seems like a major flaw to have a dependency on a file that may not exist on the system. Copying the file from your own or another person's system is not really a solution - more of a workaround. (I note in the bug report they were considering packaging the file with Firefox but no movement seems to be taking place on that.)

So how does this situation come about? Her Firefox worked one day and then stopped working. The only thing that happened (I think) in between working and not working was I performed a repair on Microsoft Office 2016 which also wasn't working. The only other vaguely relevant thing is that she had a copy of 32-bit and 64-bit Firefox installed and I uninstalled the 32-bit version.

Nyttig?

more options

I have this issue too, but copying VCRUNTIME140_1.dll from another directory doesn't work. Basically what i did was:

  • Install
  • Error message 'No VCRUNTIME140_1.dll' is displayed
  • I opened Firefox, the screen is empty, can't open any webpage or settings
  • Got here, looked for VCRUNTIME140_1.dll in my PC, found several
  • Copy it to Firefox directory
  • Open Firefox again
  • Still the same, screen is empty, can't open webpage or settings
  • Tried reinstalling using the firefox installer (without uninstalling), still the same

Is there anything more I should do?

Nyttig?

more options

farianti.063, have you tried reinstalling a runtime available from here?

Nyttig?

Stil et spørgsmål

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.