After setting up MongoDB service on Windows Server 2008 R2 this error was raised.
C:\\mongodb\\bin>net start MongoDB The Mongo DB service is starting. The Mo
I was facing the same issue and I closed the other command prompt which was opened with mongoDB.exe, and hence created a lock on that executable. Simply only closing that command prompt window worked fine. Thanks for the help.