I want to install MongoDb on windows 8 but when i try to run
C:\mongodb\bin\mongod.exeiget this error:
To find a version for your pc check with the software publisher.
Which version did you download and install? If you have 64-bit Windows 8, you should download and install the build marked with "2008R2+". Their download page indicates that:
If you are using 32-bit Windows 8, you should download the 32-bit Windows version. Of course the 32-bit version has some limitations, such as a max database size of 2GB.
Though the documentation page tells that 2008R2 works on windows 7 or greater, It didn't work on Windows 8. I have installed regular 64 bit version http://www.mongodb.org/dr/downloads.mongodb.org/win32/mongodb-win32-x86_64-2.4.2.zip/download and it did work.