couchbase client store returns false
I have installed couchbase 1.8 and using the couchbase .net client library 1.0, .net framework 4.0. Did all the configurations as given in the documentation as below, but the client.store always fail and returns false.
CouchbaseClient client = new CouchbaseClient(); //this creates a not null client object
bool result = client.store(Storemode.Add,"test","Couchbase test"); // this returns false always
string str = client.Get("test") as string; // this returns null always<configSections> <section name="couchbase" type="Couchbase.Configuration.CouchbaseClientSection, Couchbase"/> </configSections> <couchbase> <servers bucket="default" bucketPassword=""> <add uri="http://xx.xx.xx.xx:8091/pools/default"/> </servers> </couchbase> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> </startup>
I'm able to do telnet to the 8091 port. telnet takes to a blank screen, typing any key comes out of telnet session saying client sent a bad request. I'm guessing this is the correct behaviour through telnet to this port, but somehow store is failing. I dont see any activity on the couchbase default databucket.
Any help appreciated.
Hi,
I'm new here and have the same problem too.
i try the solution here and it worked :D
http://www.couchbase.com/forums/thread/issues-dhcp-development-laptop
Excellent!! that also worked for me. Thank you for pointing out the solution.
Hi,
I have the same problem. Same setup and settings. Same behavior.
Can anyone help??
Thank you,