Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

when starting mongod.exe, getting error of missing api-ms-win-crt-runtime-l1-1-0.dll

Tags:

mongodb

when starting mongod.exe on windows 7, getting error

"The program can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer. Try reinstalling the program to fix this problem. ".

After installing VC ++ .net framework and vc_redist.x64, but still no luck. Any ideas how to solve my problem.

like image 894
Parag J Avatar asked Dec 18 '22 08:12

Parag J


2 Answers

First install Window Update KB2999226 or download it from here according to your OS. then install Microsoft Visual C++ 2015 redist (vc_redist.x64 in your case). Restart the pc and run mongodb files(mongod or any).

like image 133
Khurram Avatar answered May 24 '23 16:05

Khurram


Download Visual C++ Redistributable from

https://www.microsoft.com/en-in/download/details.aspx?id=48145

After installation, try to rerun mongo.exe.

like image 42
Hitesh Sahu Avatar answered May 24 '23 17:05

Hitesh Sahu