Missing MSVCP120.dll
Posted by: Władysław Komorek (---.22.220.111.ipv4.supernova.orange.pl)
Date: September 21, 2021 07:53PM

Code execution cannot continue because MSVCP120.dll was not found.

Options: ReplyQuote
Re: Missing MSVCP120.dll
Posted by: Otomatic (Moderator)
Date: September 21, 2021 08:28PM

Hi,

I'm a bit tired of these recurrent questions only because you didn't read the prerequisites displayed during the installation of Wampserver.

- Verify that all VC ++ packages are installed and with the latest versions.
To do this, use the tool:
Checks VC++ packages installed
Do not use a previously loaded tool. Make a new download to make sure you are using the correct version.[/u)
To download missing packages, do not rely on Microsoft links, they are not reliable, download packages on http://wampserver.aviatechno.net in section Visual C++ Redistribuable Packages
Do not forget that if you have a 64 bit Windows, you must install both 32 and 64 bit versions of each package.
You must install each package "as an administrator", so right-click the exe file and then run as Administrator.

- 1 - Uninstall Wampserver

- 2 - Restart Windows

- 3 - Install Wampserver

- 4 - Apply Update 3.2.5 to your version of Wampserver
Wampserver update 3.2.5

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

Options: ReplyQuote
Re: Missing MSVCP120.dll
Posted by: Władysław Komorek (---.22.220.111.ipv4.supernova.orange.pl)
Date: September 21, 2021 11:48PM

Thank you very much.Start OK.
I appreciate your help. I am using Wampserver for Genealogy.
Before my disk got corrupted, the Wampserver worked great for several years and I forgot how this sets up.
Previously, the icon was green and now it is orange.
I only have a problem logging in to MySQL.
---
mysqli :: real_connect (): (HY000 / 2002): A connection could not be established because the target computer was actively refusing it.
---

Options: ReplyQuote
Re: Missing MSVCP120.dll
Posted by: Otomatic (Moderator)
Date: September 22, 2021 09:10AM

Hi,

> I only have a problem logging in to MySQL
Please:
- 1 - READ (and answer) BEFORE YOU ASK A QUESTION

- 2 - Result of Right-Click -> Tools -> Check state of services

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

Options: ReplyQuote
Re: Missing MSVCP120.dll
Posted by: Władysław Komorek (---.22.220.111.ipv4.supernova.orange.pl)
Date: September 22, 2021 12:06PM

I spent many hours reading and testing the recommended solutions in "testmysql.php". No recommendation helped.

I was able to log into MariaDB from "http: // localhost: 8080 / phpmyadmin /" and create a database, but I cannot do it with MySQL. I still have a refusal.
I don't use the password, only the "root" login.
Win10 installed a week ago, Google Chrome, Norton360.

" The service 'wampmysqld64' is NOT started
EXIT error code:0
Help message for error code 0 is:Operacja ukoczona pomylnie.

The service 'wampmariadb64' is started
Service Session : LocalSystem

WampServer (Apache, PHP and MySQL) will not function properly if any service
'wampapache64'
'wampmysqld64'
'wampmariadb64'
is not started.

all services BINARY_PATH_NAME are OK"

And still the "No Default DBMS" if I disable MariaDB.
I would attach the "wampConfReport.txt" file but I don't know how to do it.

Options: ReplyQuote
Re: Missing MSVCP120.dll
Posted by: Otomatic (Moderator)
Date: September 22, 2021 12:20PM

Hi,

> http: // localhost: 8080 / phpmyadmin /"
Why are you using port 8080?

> Win10 installed a week ago,
Did you apply the prerequisites BEFORE installing Wampserver ?


> And still the "No Default DBMS" if I disable MariaDB.
Which shows that you haven't read Right-Click -> Help -> MariaDB - MySQL

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

Options: ReplyQuote
Re: Missing MSVCP120.dll
Posted by: Władysław Komorek (---.22.220.111.ipv4.supernova.orange.pl)
Date: September 22, 2021 01:06PM

> Why are you using port 8080?
I had this before crash the system HD but I changed to 3306.

> Did you apply the prerequisites BEFORE installing Wampserver ?
Yes. So that I installs all the applications from scratch.

>Which shows that you haven't read Right-Click -> Help -> MariaDB - MySQL
I have read it carefully and this is my data from:

1. hosts
#
127.0.0.1 localhost
::1 localhost
127.0.0.1 genealogy
::1 genealogy

wamp64\Wampmanager.exe
wamp64\bin\apache\apache2.4.46\bin\httpd.exe
wamp64\bin\mysql\mysql5.7.31\bin\mysql.exe
wamp64\bin\mysql\mysql5.7.31\bin\mysqlcheck.exe
wamp64\bin\mysql\mysql5.7.31\bin\mysqld.exe
wamp64\bin\php\php7.3.21\php.exe

2. testmysql.php
<?php

/*
* Change the value of $password if you have set a password on the root userid
* Change NULL to port number to use DBMS other than the default using port 3306
*
*/

$user = 'root';
$password = ''; //To be completed if you have set a password to root
$database = 'genealogy'; //To be completed to connect to a database. The database must exist.
$port = NULL; //Default must be NULL to use default port
$mysqli = new mysqli('127.0.0.1', $user, $password, $database, $port);

if ($mysqli->connect_error) {
die('Connect Error (' . $mysqli->connect_errno . ') '
. $mysqli->connect_error);
}
echo '<p>Connection OK '. $mysqli->host_info.'</p>';
echo '<p>Server '.$mysqli->server_info.'</p>';
echo '<p>Initial charset: '.$mysqli->character_set_name().'</p>';

$mysqli->close();
?>

Options: ReplyQuote
Re: Missing MSVCP120.dll
Posted by: Otomatic (Moderator)
Date: September 22, 2021 01:24PM

Hi,

> I have read it carefully and this is my data from:
No.

To have MariaDB as the default DBMS you must have:

- MySQL unactived = Right-Click -> Wamp settings -> Allow MySQL…… to uncheck it

- MariaDB use port 3306 = Right-Click -> Tools -> MariaDB -> Use a port other than 3307…… choose 3306

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

Options: ReplyQuote
Re: Missing MSVCP120.dll
Posted by: Władysław Komorek (---.22.220.111.ipv4.supernova.orange.pl)
Date: September 22, 2021 02:45PM

But I would like to have MySQL as the default DBMS.

Options: ReplyQuote
Re: Missing MSVCP120.dll
Posted by: Otomatic (Moderator)
Date: September 22, 2021 03:04PM

Hi,

> But I would like to have MySQL as the default DBMS.

For that, it is imperative that the wampmysld64 service can start, which is not the case currently.

You need to see what exactly the errors are in both the event viewer and the service manager when you try to start the wampmysqld64 service.

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

Options: ReplyQuote
Re: Missing MSVCP120.dll
Posted by: Władysław Komorek (---.22.220.111.ipv4.supernova.orange.pl)
Date: September 22, 2021 07:30PM

Once again, I uninstalled Wampserver64 and installed it again. Except this time I chose Firefox as my browser. Success. Everything works fine under MySQL and I don't know why. smiling smiley

Options: ReplyQuote


Sorry, only registered users may post in this forum.