Sunday, December 16, 2012

Couchbase on Windows 8

Getting Couchbase to work on Windows 8 is a little work, but not impossible. You can download an installer from www.couchbase.com/download; just use the defaults and you should be set. When the Console website pops up, use whatever settings make the most sense.

If you're having trouble with your copy, and your settings are fine, you might need to do a little hacking. Try this: download the Zip file from http://www.mediafire.com/?xc8nurnxjqr8klb , and unpack it to a safe place. You should find a DLL in the folder. Then, get into Windows Explorer or the Command Prompt as an Administrator, and replace C:\Program Files\Couchbase\Server\bin\libtcmalloc_minimal-4.dll with the new DLL. Restart the Service in Control Panel, and everything should work. I did this on a 2.0.0 install to get it to work. A fix might be in 2.0.2 and the next public release.

Lastly, if you want to use a .NET language with Couchbase, create your project, then get into the Package Manager console and enter

install-package CouchbaseNetClient

at the prompt. That should install the latest API into your solution. Later, I'll show you some ideas how to use Couchbase in C#.

Sorry for the earlier mistake!

No comments:

Post a Comment