Couchbase Questions: .NET SDK

Have a Question? Get it answered by our community

khwong9981's picture
Asked 3 months 1 week ago
Latest activity 2 months 1 week ago

Intermittent "Failed to read from the socket"

I am using Couchbase 2.2.0 as a custom provider for ASP.Net Session State. Intermittently there are some error happen in server. Some users experienced lost of session due to unable to retrieve session from Couchbase. Below are the error log captured. Hopefully someone can point out how to solve...

dprothero's picture
Asked 3 months 1 week ago
Latest activity 2 months 2 weeks ago

.NET SDK, GetView() returns collection of Nothing's

Created a simple view to just get a list of all keys. It's in production and works fine from the server console:

function
...
Bowie's picture
Asked 3 months 2 weeks ago
Latest activity 3 months 2 weeks ago

can't get any data by using mono under Mac OS X

Hi
I am new to Couchbase and really want to use it in our games.
The thing is when I try the simple code following the tutorial in this site, it just doesn't work!

My test code is very simple:
in program.cs

using System;
using Couchbase;
using...

darryljjennings's picture
Asked 3 months 2 weeks ago
Latest activity 3 months 2 weeks ago

NullReferenceException at MemcachedNode+InternalPoolImpl.<Dispose>

I recently updated to Couchbase Client Library .NET 1.3.4 and I've been experiencing daily incidences of the following NullReferenceException:

System.NullReferenceException
Stack:
at Enyim.Caching.Memcached.MemcachedNode+InternalPoolImpl.b__7(System.Object)
at...

gbworld's picture
Asked 3 months 2 weeks ago
Latest activity 3 months 2 weeks ago

Errors in .NET Client

I am currently evaluating Couchbase for development for a client and I am getting some strange behavior when running against a view in unit tests. To simplify things, I have pulled code from the libraries into a console application.

I am using the following:
Couchbase Community...

retto's picture
Asked 3 months 2 weeks ago
Latest activity 3 months 2 weeks ago

NullRefException on GetView()

when I trying execute next code
couchbaseClient.GetView("view", "view").Stale(StaleMode.False).ToArray();
I getting next error:
Object reference not set to an instance of an object.
in:
at...

mseabourne's picture
Asked 3 months 2 weeks ago
Latest activity 3 months 2 weeks ago

Unable to locate node errors in client during rebalance

Hello,

Any help/suggestions would be appreciated. Thanks!

-------------

Problem:

When a couchbase node is removed or failed over we receive "Unable to locate node" errors on every request/insert until the node finishes rebalancing. These errors are only thrown on...

Chenos's picture
Asked 3 months 3 weeks ago
Latest activity 3 months 3 weeks 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 3 months 3 weeks ago
Latest activity 3 months 3 weeks 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 3 months 3 weeks ago
Latest activity 3 months 3 weeks 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....

Pages