Reputation: 21
I installed MongoDB in my windows 7 64 bit, but this error keeps appearing when I run 'mongod' command on cmd. Can someone help me?
I already tried to reinstall, change the version, and change the install directory.
the error always shows this alert: "The program can't start because api-ms-win-crt-runtime-|1-1-0.dll is missing from your computer. Try reinstalling the program to fix this problem.enter image description here
Upvotes: 0
Views: 769
Reputation: 3189
Try this (from https://www.thewindowsclub.com/api-ms-win-crt-runtime-l1-1-0-dll-is-missing):
Open Control Panel and go to “Programs and Features” section. Find out Microsoft Visual C++ 2015 Redistributable (x64) [for 64-bit machine] > right-click on it > select Change button > click on the Repair button.
If the DLL file is present on your computer, but you still receive this error message, you may need to re-register the DLL file.
If the DLL file is missing, then downloading the missing dll file from the internet and pasting it to a particular place is not the actual solution. You can try that method, but you may not get any positive result from it.
Download the Update for Universal C Runtime from Microsoft. Install the Runtime component and restart your computer and see. Just for your information, starting with Windows 10, the Universal CRT is part of the operating system.
If this does not help, you may need to install Microsoft Visual C++ Redistributable Update from Microsoft here. You need to select the OS architecture, i.e. 64-bit or 32-bit.
Like the Visual C++ 2015 Redistributable package, some programs use the Microsoft Visual C++ Redistributable for Visual Studio 2017. Maybe you need to install this one. You can find the package on this page.
Upvotes: 1