mongodbwindows-7-x64

Service 'MongoDB Server' (MongoDB) failed to start


I'm trying to install mongo DB on my local machine with the installer from the official website. But I'm continuously getting this message, can someone help?

enter image description here I've tried the solution provided here but didn't help.


Solution

  • I suggest doing the following:

    Hit Win+R to open up you run.exe then inside of it enter services.msc to open up services. Try locating the service under the name of MongoDB Server and set the Startup Type manually to Automatic - [In addition to that, you could set the username and password manually. If you get a message saying the user was granted login as a service right, try hitting retry on the MSI dialog and see if it starts].

    Important:
    Don't forget to save and close everything (services.msc) before continuing.


    Also very important, you should (must) check your .NET framework version and update it to version 4.5 and above. You could download a software like eg Driver Booster to update all of your drivers and additional components that are outdated.