Couchbase Questions: .NET SDK

Have a Question? Get it answered by our community

Chenos's picture
Asked 4 weeks 21 hours ago
Latest activity 4 weeks 8 hours ago

ExecuteGet do not return the expected status codes and messages

Hey,

I am using couchbase server 2.2 + couchbase .Net sdk 1.3.3.

While using ExecuteGet method i sometimes get strange result:
StatusCode=1
Message="Not found"
Value= a real value instead of null which is what i expected when the key was not found.

Is this...

Posey's picture
Asked 4 weeks 1 day ago
Latest activity 4 weeks 8 hours ago

Couchbase.Aspnet session provider request timeout

I use Couchbase.AspNet 1.2.1.0 as asp.net state provider.
My config file looks like:

<?xml version="1.0" encoding="utf-8"?>

-->

In my code use Session["Test"] = "Couch is cool" and get the value Session["Test"].
But the page cannot loaded, error is...

rootah's picture
Asked 1 month 14 hours ago
Latest activity 4 weeks 1 day ago

Binding Couchbase data to c# DataGridView

I can't find any information about binding Couchbase data to c# DataGridView (WinForms).
Can someone provide a sample code or link to material describing the solution of the problem?

I hope the meaning of the question is clear, English is not my native language....

traxxx's picture
Asked 1 month 1 day ago
Latest activity 1 month 1 day ago

GetView returns null IViewRow objects

Hi there,
I'm just learning the Couchbase .NET SDKs and I'm trying to query a view.
I've created (using some online examples) the by_name view on the beer-sample bucket:

function (doc, meta) {
if (doc.type && doc.type == "beer" && doc.name)
emit(...

ap's picture
Asked 1 month 5 days ago
Latest activity 1 month 5 days ago

KeyExists method sometimes returns true even when document never exists on server

Seeing this issue randomly where in KeyExists() returns true to a key that doesn't exist and never existed within any bucket.
Is this a bug or is there a fix for this issue or a possible reliable workaround ?

lindatang1998's picture
Asked 1 month 1 week ago
Latest activity 1 month 5 days ago

client.GetView(designName, viewName) returns nothing

Hello there,

I am stuck by not getting back any view from the following code:

var view = client.GetView("test", "byStyle");

The cluster.RetrieveDesignDocument returns by the below code are:

{"views":{"byCategory":{"map":"function (doc, meta) {\n emit(meta.id, null)...

wilsont's picture
Asked 1 month 1 week ago
Latest activity 1 month 1 week ago

Exception throw while getting View after update to 1.3.3

Hello.

First of all this problem doesn't exists in 1.3.1, it starts after I have updated the .net client to 1.3.3

The exception is being threw while i call

client.GetView(designName, viewName)

The View's object is not JSON, it's an serializable c# custom class....

dawheeler's picture
Asked 1 month 2 weeks ago
Latest activity 1 month 2 weeks ago

Updating to 1.3.1 failed

Our application is using 1.2.0 .net couchbase client, and we would like to update it to a newer version. We tried 1.3.1 and 1.3.3 and the update was a failure. We are getting these error messages on store and get commands:

"GetVBucket is implemented only for VBucketNodeLocator...

paulroberttaylor's picture
Asked 1 month 2 weeks ago
Latest activity 1 month 2 weeks ago

Couchbase as Membership database

Not directly related to the current SDK, but I'm curious to know if anyone has created a C# MVC membership site and used Couchbase as the back end?

zissop's picture
Asked 1 month 3 weeks ago
Latest activity 1 month 3 weeks ago

Net client 1.3.3

Hello

When we tried to upgrade from v1.2.9 to v.1.3.3 (after upgrading Couchbase to 2.5) we can't connect to the pools. Log says that the pool can't be initialized.

Reverting back to 1.2.9 and the problems gone.

Is it a known issue? What is the workaround?

Regards...

Pages