VCRUNTIME140.dll missing
Posted by: mak61 (---.213.68.182.airtelbroadband.in)
Date: October 21, 2016 10:17PM

WAMP Server Installation causing following error:

WAMP 2.3.0.6_x64 installation Error
---------------------------
httpd.exe - System Error
---------------------------
The program can't start because VCRUNTIME140.dll is missing from your computer. Try reinstalling the program to fix this problem.
---------------------------
OK

Details of my Server:
1) wamp 3.0.6_x64 being installed
2) Apache 2.4.23
3) MySQL 5.7.14
4) PHP 5.6.25
5) Windows 7 Ultimate 2009, System 64-bit OS, Intel Core i5-4210U CPU 1.70 GHz, RAM 4GB
6) Wampserver colour after installtion Red

Installed VC9, VC 10, VC11 for x86 and x64 all pack with Run as Administrator
Then Installed Wampserver3.0.6, which gave the above error VCRUNTIME140.dll

Uninstall wampserver, re-started server and again installed wampserver, same error.

Agains un-install wampserver and Installed VC13 and wampserver giving same error.


Many people are facing the same problem. Some permanent solution to be found out.



Edited 3 time(s). Last edit at 10/22/2016 03:12PM by mak61.

Options: ReplyQuote
Re: VCRUNTIME140.dll missing
Posted by: biku (178.152.117.---)
Date: October 22, 2016 08:43AM

Hi! mak61,
Apparently I was also facing the same issue until I found solution in some other forum. Apparently just installing VC9, VC10, VC11 is not enough. so, I suggest first you uninstall your WAMPServer and restart the system. After that install the following packages with appropriate architecture then reinstall the WAMPServer. I hope it helps you.

-- VC9 Packages (Visual C++ 2008 SP1)--
[www.microsoft.com]
[www.microsoft.com]

-- VC10 Packages (Visual C++ 2010 SP1)--
[www.microsoft.com]
[www.microsoft.com]

-- VC11 Packages (Visual C++ 2012 Update 4)--
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page
[www.microsoft.com]

-- VC13 Packages] (Visual C++ 2013)--
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page
[www.microsoft.com]

-- VC14 Packages (Visual C++ 2015)--
The two files vcredist_x86.exe and vcredist_x64.exe to be download are on the same page
[www.microsoft.com]



Edited 1 time(s). Last edit at 10/22/2016 08:44AM by biku.

Options: ReplyQuote
Re: VCRUNTIME140.dll missing
Posted by: Otomatic (Moderator)
Date: October 22, 2016 09:23AM

Hi,

You have not read the prerequisites that are displayed just before the actual installation starts. You clicked "Next", without bothering to understand what you were doing.
In installers, I'll end up writing: "You're on your own"

Read an apply the totality of the item number 20 of : TROUBLESHOOTING TIPS

> Many people are facing the same problem. Some permanent solution to be found out.
The only people who face this problem are those who will not read the explanations.
"Permanent solution" has existed for a long time: Read the instructions for use!

@biku
The links you provide for VC14 Packages (Visual C++ 2015) is not the good one's.
When one wants to "help" others, it must be done accurately.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons



Edited 2 time(s). Last edit at 10/22/2016 09:29AM by Otomatic.

Options: ReplyQuote
Re: VCRUNTIME140.dll missing
Posted by: Otomatic (Moderator)
Date: October 22, 2016 10:43AM

Hi,

This is what is displayed before the installation starts.
Everything is explained, with the RIGHT links. If you do not read or if you do not follow these guidelines, it is solely your fault.

--- Installation of Wampserver ---
BEFORE proceeding with the installation of Wampserver, you must ensure that certain elements are installed on your system, otherwise Wampserver will absolutely not run, and in addition, the installation will be faulty and you need to remove Wampserver BEFORE installing the elements that were missing.
Make sure you are "up to date" in the redistributable packages VC9, VC10, VC11, VC13 and VC14
See --- Visual C++ Packages below.
--- Do not install Wampserver OVER an existing version, follow the advice:
- Install a new version of Wampserver: http://forum.wampserver.com/read.php?2,123606
If you install Wampserver over an existing version, not only it will not work, but you risk losing your existing databases.
--- Install Wampserver in a folder at the root of a disk, for example C:\wamp or D:\wamp. Take an installation path that does not include spaces or diacritics; Therefore, no installation in c:\program Files\ or C:\Program Files (x86)\
We must BEFORE installing, disable or close some applications:
- Close Skype or force not to use port 80
Item No. 04 of the Wampserver TROUBLESHOOTING TIPS:http://forum.wampserver.com/read.php?2,134915
- Disable IIS
Item No. 08 of the Wampserver TROUBLESHOOTING TIPS:http://forum.wampserver.com/read.php?2,134915
If these prerequisites are not in place, Press the Cancel button to cancel the installation, then apply the prerequisites and restart the installation.
This program requires Administrator privileges to function properly. It will be launched with the "Run as administrator" option. If you do not want a program to have this option, cancel the installation.

--- Visual C++ Packages ---
The MSVC runtime libraries VC9, VC10, VC11 are required for Wampserver 2.4, 2.5 and 3.0, even if you use only Apache and PHP versions with VC11. Runtimes VC13, VC14 is required for PHP 7 and Apache 2.4.17 or more
-- VC9 Packages (Visual C++ 2008 SP1)
http://www.microsoft.com/en-us/download/details.aspx?id=5582
http://www.microsoft.com/en-us/download/details.aspx?id=2092
-- VC10 Packages (Visual C++ 2010 SP1)
http://www.microsoft.com/en-us/download/details.aspx?id=8328
http://www.microsoft.com/en-us/download/details.aspx?id=13523
-- VC11 Packages (Visual C++ 2012 Update 4)
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page:
http://www.microsoft.com/en-us/download/details.aspx?id=30679
-- VC13 Packages] (Visual C++ 2013)
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page:
https://www.microsoft.com/en-us/download/details.aspx?id=40784
-- VC14 Packages (Visual C++ 2015 Update 3)
The two files vcredist_x86.exe and vcredist_x64.exe to be download are on the same page:
https://www.microsoft.com/fr-fr/download/details.aspx?id=53840
If you have a 64-bit Windows, you must install both 32 and 64bit versions, even if you do not use Wampserver 64 bit.
Warning: Sometimes Microsoft may update the VC ++ package by breaking the download links and without redirect to the new. If the case happens to you, remember that item number 20 below will be updated and the page http://wampserver.aviatechno.net/ section Visual C++ Redistribuable Packages is up to date.
This is item number 20 of TROUBLESHOOTING TIPS of Wampserver: http://forum.wampserver.com/read.php?2,134915

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: VCRUNTIME140.dll missing
Posted by: mak61 (---.115.68.182.airtelbroadband.in)
Date: October 22, 2016 12:22PM

As per suggestion, un-installed wampserver 3.0.6
Refer my problem above, VC9, VC10, VC11, & VC13 was already installed.

Downloaded VC14 and tried to install VC14 but giving error:
SETUP failed
One or more issues caused the setup to fail. Please fix up the issues & then re-try setup. For more info, see the logfile.

0xc8000222 - Unspecified error

Logfile is lengthy and unable to make out from logfile!

Please help me! I am stuck up in wampserver installation from last 3 days.

Options: ReplyQuote
Re: VCRUNTIME140.dll missing
Posted by: Otomatic (Moderator)
Date: October 22, 2016 02:54PM

Hi,

- 1 - Update for Universal C Runtime in Windows
Windows 10, Windows 7 Service Pack 1, Windows 8, Windows 8.1, Windows Server 2008 R2 SP1, Windows Server 2008 Service Pack 2, Windows Server 2012, Windows Vista Service Pack 2
Follow the links on this page for your specific environment
Update for Universal C Runtime in Windows

- 2 - > Windows Ultimate 2009
What is this ? XP, 7, 8, 8.1, 10 ?

- 3 - Download Checks VC++ packages installed then run it as an administrator. It will give you missing VC redist.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: VCRUNTIME140.dll missing
Posted by: mak61 (---.174.99.117.airtelbroadband.in)
Date: October 22, 2016 04:10PM

It is Win 7 Ultimate vesion 2009
I is not showing SP1 on my PC.
When trying to download Win7 SP1 from microsoft.com, it is displaying 10 files. Which files out of 10 files of Win 7 SP1, I should select to download and install on my system (details given at top).

I have downloaded Win7 x64 Universal C Runtime (KB2999226) and when run to install it is giving error:
Installer Encountered an Error 0xc8000222

Very troublesome installation indeed !

Options: ReplyQuote
Re: VCRUNTIME140.dll missing
Posted by: RiggsFolly (Moderator)
Date: October 22, 2016 04:50PM

You should upgrade to Windows 7 SP1 using the standard Windows Update process.

There is only one reason not to allow Windows to upgrade itself from W7 to W7 SP1, and that is that your version of Windows is not legitimate.
If you cannot upgrade to SP1 for this reason, it is not the fauilt of WAMPServer

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: VCRUNTIME140.dll missing
Posted by: mak61 (---.174.99.117.airtelbroadband.in)
Date: October 22, 2016 06:51PM

Dear All,
Installation Successful.

Downloaded Win 7 SP1 for 64bit (x64) (KB976932)
Downloaded Win7 X64 Universal C Runtime (KB2999226)
Downloaded Check VC++ Package (check_vcredist.exe)
Un-installed wampserver 2.0.6 which was Failed installed
Checked VC++ packages with above downloaded package. It said VC 9 (VC++) not installed.
Un-installed all packages VC9, VC10, VC11, VC13 installed so far (VC14 was giving error)
Re-Started PC
Installed Win7 SP1 x64 (KB976932)
Re-Started PC
Installed Win7 x64 Universla C Runtime (KB2999226)
Re-Started PC
Installed all packages again VC9, VC10, VC11, VC13 & VC14. Installed without Error this time.
Re-Started PC
Checked VC++ with (check_vcredist.exe) result was:
VC9 (2008 SP1) ATL security not installed for x86 and x64(Microsoft.com link given)
VC9 (2008 SP1) MFC security not installed for x86 and x64(Microsoft.com link given)
Downloaded these packages from the given link given above.
Installed VC9 ATL and MFC packages for x86 and x64 both.
Checked VC++ with (check_vcredist.exe) result was VC 9 with ALT and MFC installed.
Re-Started PC
Installed wampserver 3.0.6
Installation successful.
on IE [localhost] showing Apache 2.4.23, PHP 5.6.25, MySQL 5.7.14 installed.

I have given details so that others facing same problem may benefit!
Thanks for support!
Is there any documentation how to proceed further!

Thanks & regards
MAK61

Options: ReplyQuote


Sorry, only registered users may post in this forum.