I was trying to install MongoDB on Windows 7 recently and was having some trouble getting it to work. It doesn’t help that the installer fails silently, not telling you why it won’t install. All you know is that you ran the install command and there’s no MongoDB service installed. Anyway, here are the two gotcha’s I ran into:
- You need to run the command prompt as administrator.
- You need to have the full path to the exe when you run the install command, e.g.:
c:\mongodb-1.4.0\bin\mongod.exe –install
Runs like a champ after that.
Are you able to get pagination to work with codeigniter and mongoDB, been trying in vain to get it right, could you point me in the right direction.
Unfortunately I won’t be much help here, I haven’t worked with either codeigniter or mongoDB in well over 6 months, and I haven’t used them together ever. Keep searching though, I’m sure there’s someone out there that has.
I get a “Error connecting to the Service Control Manager: Access is denied. (5)” whenever i try to install mongodb as a service on my 32 bit windows 7
Not sure about that. You might want to check that you’re installing and/or running the service as an administrator.
This link might help too:
http://stackoverflow.com/questions/4098909/got-access-is-denied-when-i-tried-to-install-64-bit-mongodb-in-windows-server-2
(short version: when you’re installing, run the command prompt as an administrator)