Unable to store data via .Net Client
I am trying to build the Hello World sample for CouchBase on Windows, but I am unable to save anything.
When I tried the ExecuteStore() method it returned IStoreOperationResult with the message "Failed to locate node".
here is my app.config file -
<?xml version="1.0"?> <configuration> <configSections> <section name="couchbase" type="Couchbase.Configuration.CouchbaseClientSection, Couchbase"/> </configSections> <couchbase> <servers bucket="default" bucketPassword="" > <add uri="http://127.0.0.1:8091/pools" /> </servers> </couchbase> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> </startup> </configuration>
CouchBase console says everything is working fine.
has anyone came across this kind of issue before?
Usually that error indicates the client library can't get it's configuration from the cluster.
I'd recommend trying to turn on/up logging, and you'll probably see more. The configuration fetching happens in another thread, so most feedback is available via the logging. See the docs for more on logging.