4

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.

Ankur Jyoti Phukan
  • 785
  • 3
  • 12
  • 20
Parag J
  • 41
  • 1
  • 1
  • 2

2 Answers2

8

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).

Khurram
  • 695
  • 6
  • 16
3

Download Visual C++ Redistributable from

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

After installation, try to rerun mongo.exe.

Hitesh Sahu
  • 41,955
  • 17
  • 205
  • 154