Jan 25

Configuring MongoDB on Windows 2008 R2 (64-bit) as a Service

MongoDB   |   Tuesday, January 25, 2011 @ 10:26 PM

Fairly straight-forward.  Just here for my own documentation /copy & pasting.  Official MongoDB wiki contains the same info. Download binaries.  Unzip and copy .exe’s to C:\mongo\bin Launch Command Prompt AS ADMINISTRATOR (right-click and run as administrator) Within c:\mongo\bin run “mongod –bind_ip 127.0.0.1 –logpath c:\mongo\logs –logappend –dbpath c:\mongo\data –directoryperdb –install” Go to Services and start / [...]

Tagged with:
Jan 25

{"ReadString cannot be called when BsonType is: ObjectId"} was the error I received a few times while learning MongoDB. I was getting this often until I saw  a posting on Google Groups which reminded me that we need to be type conscious.  I was setting the “_id” type to string.  Realize that it needs to [...]

Tagged with:

 

 

preload preload preload
© 2010 Vikram Pant       All Opinions Are My Own And Not That Of My Employer(s)       Site Powered By WordPress   Theme is Pageline's iBlog2