I am trying to install mongodb
as a service on Windows 8
.
I am using the following command to install Mongodb
.
C:\mongodb\bin\mongod.exe --auth --config C:\mongodb\mongod.cfg --install
And I am getting this error:
Wed Mar 13 19:13:23 Trying to install Windows service 'MongoDB'
Wed Mar 13 19:13:23 Error connecting to the Service Control Manager: Access is denied. (5)
How can I install the Mongodb
Service?
I tried this using Administrator privileges but the problem is still not solved.