Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 1.8.x

couchbase client store returns false

3 replies [Last post]
  • Login or register to post comments
Sun, 04/15/2012 - 17:12
pal
Offline
Joined: 04/15/2012
Groups: None

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.

Top
  • Login or register to post comments
Tue, 04/17/2012 - 03:56
eduardolopez
Offline
Joined: 04/17/2012
Groups: None

Hi,
I have the same problem. Same setup and settings. Same behavior.

Can anyone help??

Thank you,

Top
  • Login or register to post comments
Mon, 04/30/2012 - 00:10
Hendra
Offline
Joined: 04/29/2012
Groups: None

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

Top
  • Login or register to post comments
Mon, 04/30/2012 - 15:22
eduardolopez
Offline
Joined: 04/17/2012
Groups: None

Excellent!! that also worked for me. Thank you for pointing out the solution.

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker